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?
ListItem.IsSelected bug?
pecinko
Member+ Joined: Dec 2008 Reputation: 27 Location: Prague / Belgrade |
2012-02-21 20:12
Post: #1
|
| find quote |
`Black
Skilled Skinner Joined: Apr 2009 Reputation: 50 Location: Germany |
2012-02-21 21:24
Post: #2
You have to use ListItem.IsPlaying... should work for movies, episodes & songs.
|
| find quote |
pecinko
Member+ Joined: Dec 2008 Reputation: 27 Location: Prague / Belgrade |
2012-02-21 21:56
Post: #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) |
| find quote |
`Black
Skilled Skinner Joined: Apr 2009 Reputation: 50 Location: Germany |
2012-02-21 22:12
Post: #4
No idea... maybe IsSelected is obsolete and that's the reason why it's not working anymore.
|
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2012-02-21 22:44
Post: #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. ![]() |
| find quote |
pecinko
Member+ Joined: Dec 2008 Reputation: 27 Location: Prague / Belgrade |
2012-02-22 12:23
Post: #6
OK, thanks for explanation.
|
| find quote |

![[Image: xp1080-21.png]](http://www.planet-ira.de/wallpaper/xp1080-21.png)
![[Image: badge.gif]](http://www.ohloh.net/projects/9132/badge.gif)
Search
Help