2012-03-20, 04:25
I'm using the following to include conditions in the DialogSeekbar.xml and I'm witnessing some strange behaviour. I was hoping someone would be able to help me out a bit.
Code used:
The condition appears to only be checked once regardless if I switch from playing music to playing a video. If I reload the skin everything works properly until I switched to the opposite type of media.
My question: Is DialogSeekbar only loaded once upon XBMC's start and this is why I'm experiencing this issue? If so, is there a reason to have the window created / loaded if media is not currently playing?
Any help would be greatly appreciated.
Code used:
Code:
<include condition="Player.HasVideo">OSD_Video_Header</include>
<include condition="Player.HasAudio">OSD_Music_Header</include>
The condition appears to only be checked once regardless if I switch from playing music to playing a video. If I reload the skin everything works properly until I switched to the opposite type of media.
My question: Is DialogSeekbar only loaded once upon XBMC's start and this is why I'm experiencing this issue? If so, is there a reason to have the window created / loaded if media is not currently playing?
Any help would be greatly appreciated.