Kodi Community Forum

Full Version: $INFO[MusicPlayer.Cover] is not working for button?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This button does not display any album art , but it should display when a song is playing, I think.

What wrong I am doing here?

<control type="button">
<posx>10</posx>
<posy>0</posy>
<width>110</width>
<height>85</height>
<texturenofocus>$INFO[MusicPlayer.Cover]</texturenofocus>
<texturefocus>$INFO[MusicPlayer.Cover]</texturefocus>
<visible>true</visible>
</control>
Please Help.
Thanks.
Just change it to an image control.
But then I will not be able to write <onclick> </onclick> for that.
I have to do something when the image is clicked.

Please Help...
Put a button control in the same place, the same size without a texture.
Thanks, that is working , now in <onclick> Huh </onclick> what should I write so that, clicking on the button will open the album of currently playing song? ( which will display all songs of the album on screen)

Help Please...
Thanks for Help.