ListItem.IsSelected bug?
#1
ListItem.IsSelected

does not work for me. I have to use

<visible>StringCompare(ListItem.Label,MusicPlayer.Album)</visible>
or <visible>StringCompare(ListItem.Label,VideoPlayer.Title)</visible>

... depending on container.content instead. Can anyone confirm before I trac it?
My skins:

Amber
Quartz

Reply
#2
You have to use ListItem.IsPlaying... should work for movies, episodes & songs.
Image
Reply
#3
Thanks for the tip. Do you happen to know what's the difference between these 2:

ListItem.IsPlaying Returns whether the current ListItem.* info labels and images are currently Playing media
ListItem.IsSelected Returns whether the current ListItem is selected (f.e. currently playing in playlist window)
My skins:

Amber
Quartz

Reply
#4
No idea... maybe IsSelected is obsolete and that's the reason why it's not working anymore.
Image
Reply
#5
IsSelected typically means it's highlighted for some reason (eg is the focused item for the context menu). I don't think there's many places you'd want to use it other that perhaps in the filemanager.

IIRC it's all done of the <selectedcolor> you specify in labels - i.e. you probably don't need to use ListItem.IsSelected anywhere.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#6
OK, thanks for explanation.
My skins:

Amber
Quartz

Reply

Logout Mark Read Team Forum Stats Members Help
ListItem.IsSelected bug?0