Record button wont work to command
#1
Sad 
hello,

could any skin designers out there, possibly help me out with this. i'm trying to add a button to the dialog button menu, to record streams. all works well except that i added an alttexturefocus but it always defaults to this, so its not listening to its condition of if player.isrecording.

cheers

<control>
<description>record radio</description>
<type>togglebutton</type>
<id>3114</id>
<visible>player.canrecord</visible>
<posx>265</posx>
<posy>20</posy>
<width>45</width>
<height>54</height>
<label>record radio</label>
<font>-</font>
<texturefocus>osd_button_audiofo.png</texturefocus>
<texturenofocus>osd_button_audio.png</texturenofocus>
<usealttexture>player.isrecording</usealttexture> <alttexturefocus>osd_button_audioselfo.png</alttexturefocus> <alttexturenofocus>osd_button_audioselnf.png</alttexturenofocus>
<execute>xbmc.playercontrol(record)</execute>
<onleft>3113</onleft>
<onright>3110</onright>
<onup>3114</onup>
<ondown>3114</ondown>
</control>
Reply

Logout Mark Read Team Forum Stats Members Help
Record button wont work to command0