$INFO[MusicPlayer.Cover] is not working for button?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
slinuxgeek Offline
Senior Member
Posts: 180
Joined: Feb 2012
Reputation: 0
Sad  $INFO[MusicPlayer.Cover] is not working for button? Post: #1
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.
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,921
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #2
Just change it to an image control.

[Image: sig_zps3af3b48e.jpg]
find quote
slinuxgeek Offline
Senior Member
Posts: 180
Joined: Feb 2012
Reputation: 0
Post: #3
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...
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,523
Joined: Oct 2003
Reputation: 138
Post: #4
Put a button control in the same place, the same size without a texture.

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: badge.gif]
find quote
slinuxgeek Offline
Senior Member
Posts: 180
Joined: Feb 2012
Reputation: 0
Post: #5
Thanks, that is working , now in <onclick> Confused </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.
find quote