Kodi Community Forum

Full Version: Currently playing album in a panel control
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
shouldn't "item" be "control"?
do you have the <content></content> tags
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>.
Yes, that is why. The content stuff is only ever evaluated at container refresh IIRC.