Problem with content type condition in videoplayer
#1
In VideoOverlay.xml I am displaying labels based on what type of content is playing.

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.
Reply
#2
We are probably talking about the same issue here http://forum.xbmc.org/showthread.php?tid=170457
Reply
#3
I think we are Smile Cheers!
Reply
#4
Should be fixed, see https://github.com/xbmc/xbmc/commit/fd2b...ec313aed23
Reply
#5
Great Smile Thanks for the heads up!
Reply

Logout Mark Read Team Forum Stats Members Help
Problem with content type condition in videoplayer0