Slider control...

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
slinuxgeek Offline
Senior Member
Posts: 189
Joined: Feb 2012
Reputation: 0
Lightbulb  Slider control... Post: #1
Can you please tell me how to use slider control as volume progress bar.
I wrote following in MyMusicNav.xml:
<control type="slider" >
<description>Volume Slider</description>
<posx>430</posx>
<posy>72</posy>
<width>720</width>
<height>16</height>
<visible>true</visible>
<texturebg>picture1.png</texturebg>
<textureslidernib>picture2.png</textureslidernib>
</control>
The line:
<textureslidernib>picture2.png</textureslidernib>
causes problem, the xbmc gets crashed & exits all of a sudden, why?
If I don't write that line xbmc runs smoothly.

But in neither case I am able to see any slider control.

Also please tell me more about how can I use it for volume adjustment.
wiki is not clear.

Thank You.
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,942
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #2
Looks like the wiki needs updating.

What you need to add to the slider is <action>volume</action> so XBMC knows that is what it's supposed to be for.

[Image: sig_zps3af3b48e.jpg]
find quote
slinuxgeek Offline
Senior Member
Posts: 189
Joined: Feb 2012
Reputation: 0
Star    Post: #3
when I read confluence skin file "MusicOSD.xml"
in place of :
<texturebg>pic_file</texturebg>
this has been written:
<texturesliderbar>pic_file</texturesliderbar>

really , wiki needs to be updated.
I want to do that but I don't have knowledge.

Thank You for help.
find quote
ronie Offline
Team-XBMC Member
Posts: 8,263
Joined: Jan 2009
Reputation: 108
Post: #4
as far as i can see all the info is there:
http://wiki.xbmc.org/index.php?title=Slider_Control

let me know what's missing and i'll add it.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or 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.
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,523
Joined: Oct 2003
Reputation: 138
Post: #5
<action>Volume</action> or <action>Seek</action> can be specified to automatically make a slider control handle seeking or volume. I think that's all that is supported currently.

Cheers,
Jonathan

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