Add temp var support to media condition

This commit is contained in:
WarmUpTill
2024-09-17 23:11:33 +02:00
committed by WarmUpTill
parent 2f54c2ee62
commit a6e30a1e20
3 changed files with 238 additions and 32 deletions

View File

@@ -1834,6 +1834,39 @@ AdvSceneSwitcher.tempVar.usb.serialNumber="Serial Number"
AdvSceneSwitcher.tempVar.transform.setting="Setting value"
AdvSceneSwitcher.tempVar.transform.settings="Settings string"
AdvSceneSwitcher.tempVar.media.state="State"
AdvSceneSwitcher.tempVar.media.state.description="The current media state represented as an integer value:\n0 being 'None'\n1 being 'Playing'\n2 being 'Opening'\n3 being 'Buffering'\n4 being 'Paused'\n5 being 'Stopped'\n6 being 'Ended'\n7 being 'Error'"
AdvSceneSwitcher.tempVar.media.time="Current time"
AdvSceneSwitcher.tempVar.media.time.description="Elapsed time in milliseconds since media playback began.\nIf the source supports playlists, this time is respective to the current playlist item being played and not the overall playlist.\nNote that this value might not be exactly zero if the playback is stopped or ended."
AdvSceneSwitcher.tempVar.media.duration="Duration"
AdvSceneSwitcher.tempVar.media.duration.description="The duration of the media file being played in milliseconds.\nIf the source supports playlists, this time is respective to the current playlist item being played and not the overall playlist."
AdvSceneSwitcher.tempVar.media.vlc.title="Title (VLC)"
AdvSceneSwitcher.tempVar.media.vlc.artist="Artist (VLC)"
AdvSceneSwitcher.tempVar.media.vlc.genre="Genre (VLC)"
AdvSceneSwitcher.tempVar.media.vlc.copyright="Copyright (VLC)"
AdvSceneSwitcher.tempVar.media.vlc.album="Album (VLC)"
AdvSceneSwitcher.tempVar.media.vlc.track_number="Track number (VLC)"
AdvSceneSwitcher.tempVar.media.vlc.description="Description (VLC)"
AdvSceneSwitcher.tempVar.media.vlc.rating="Rating (VLC)"
AdvSceneSwitcher.tempVar.media.vlc.date="Date (VLC)"
AdvSceneSwitcher.tempVar.media.vlc.setting="Setting (VLC)"
AdvSceneSwitcher.tempVar.media.vlc.url="URL (VLC)"
AdvSceneSwitcher.tempVar.media.vlc.language="Language (VLC)"
AdvSceneSwitcher.tempVar.media.vlc.now_playing="Now playing (VLC)"
AdvSceneSwitcher.tempVar.media.vlc.publisher="Publisher (VLC)"
AdvSceneSwitcher.tempVar.media.vlc.encoded_by="Encoded by (VLC)"
AdvSceneSwitcher.tempVar.media.vlc.artwork_url="Artwork URL (VLC)"
AdvSceneSwitcher.tempVar.media.vlc.track_id="Track id (VLC)"
AdvSceneSwitcher.tempVar.media.vlc.director="Director (VLC)"
AdvSceneSwitcher.tempVar.media.vlc.season="Season (VLC)"
AdvSceneSwitcher.tempVar.media.vlc.episode="Episode (VLC)"
AdvSceneSwitcher.tempVar.media.vlc.show_name="Show name (VLC)"
AdvSceneSwitcher.tempVar.media.vlc.actors="Actors (VLC)"
AdvSceneSwitcher.tempVar.media.vlc.album_artist="Album artist (VLC)"
AdvSceneSwitcher.tempVar.media.vlc.disc_number="Disc number (VLC)"
AdvSceneSwitcher.tempVar.media.vlc.disc_total="Disc total (VLC)"
AdvSceneSwitcher.tempVar.media.vlc.metadata.description="This property is exposed by the VLC Source type.\nNot all of these might be applicable to every file.\nIn case the metadata is not available an empty string will be returned."
AdvSceneSwitcher.selectScene="--select scene--"
AdvSceneSwitcher.selectPreviousScene="Previous Scene"
AdvSceneSwitcher.selectCurrentScene="Current Scene"