Currently playing album in a panel control
#1
Question 
I'm trying to get a thumb of the currently playing album to show up in a panel, with an onclick that takes you to the Now Playing window.

<item id="6">
<label>$LOCALIZE[10517]</label>
<thumb>$INFO[MusicPlayer.Cover]</thumb>
<onclick>xbmc.activatewindow(musicplaylist)</onclick>
<visible>Player.HasAudio</visible>
</item>

Can't get it to work, am I doing something wrong or is the $info not populating the thumb?
Reply
#2
shouldn't "item" be "control"?
Reply
#3
do you have the <content></content> tags
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#4
timdog: the control is set up, and all the other items are showing correctly, it's just that the $INFO[MusicPlayer.Cover] isn't populating the "thumb". So I have an option in the panel, but the graphic for the currently playing album isn't showing.

nuka: yes, content and /content are in place. All the other items are showing correctly. What i'm trying to work out is if xbmc isn't populating the image because it's set as a <thumb> instead of a <info>.
Reply
#5
Yes, that is why. The content stuff is only ever evaluated at container refresh IIRC.
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

Logout Mark Read Team Forum Stats Members Help
Currently playing album in a panel control1