2014-02-28, 09:50
In VideoOverlay.xml I am displaying labels based on what type of content is playing.
This label:
returns nothing when I am playing a video that is not in the library.
I have used this before. From the wiki:
Strangely enough, when I change the content type in the condition to movies, it shows up even though it is not a movie.
This label:
PHP Code:
<control type="label" id="201">
<right>70</right>
<label>$INFO[VideoPlayer.Duration,, $LOCALIZE[31701]]</label>
<include>toast_Bottom</include>
<visible>VideoPlayer.Content(files)</visible>
</control>
returns nothing when I am playing a video that is not in the library.
I have used this before. From the wiki:
Quote:VideoPlayer.Content
Returns true if the current Video you are playing is contained in corresponding Video Library sections. The following values are accepted : files, movies, episodes, musicvideos, livetv
Strangely enough, when I change the content type in the condition to movies, it shows up even though it is not a movie.