Slider control... - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12) +--- Thread: Slider control... (/showthread.php?tid=125026) |
Slider control... - slinuxgeek - 2012-03-08 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. - Hitcher - 2012-03-08 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. - slinuxgeek - 2012-03-09 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. - ronie - 2012-03-09 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. - jmarshall - 2012-03-10 <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 |