Volume steps and unit used in skins (db or %)
#1
Hi all

I've had a quick search but I'm not sure of the correct search terms on this one.

I'm not sure where this is adjusted or what it is called but when adjusting XBMC volume, many skins show the volume 'units' in dB. Is it possible to change this easily to percent? I'm using the Eminence skin at the moment if it makes any difference, I'm not sure if it's coded uniquely for each skin or just a standard variable or something. A suggestion for the base XBMC would have an option to set this under sound or appearance options in a future build maybe.

Also I would like to know if it is possible to make the volume have fewer 'steps' (for lack of a better word). For example on my remote it takes many many presses of the volume button to get the volume from lowest to highest, is it possible to reduce the steps so it increases by a larger amount each time the button is pressed? (don't think it's skin related but while on the topic thought I would mention it here).

Any advice would be appreciated.
Reply
#2
Just found this: http://forum.kodi.tv/showthread.php?tid=...pid1770622

Looking into it...
Reply
#3
Look at this - http://forum.kodi.tv/showthread.php?tid=...pid1774880 - instead Wink
Reply
#4
Thanks so much, you're awesome Smile

I was able to change just one tiny bit of code using your example. ID #1 was already set for volume so I just reused that in your example code.

So for anyone else looking, to change the volume from dB to percent on the Eminence skin, open up /storage/.xbmc/addons/skin.eminence/1080i/DialogVolumeBar.xml

Change the line:
Code:
<label>$INFO[Player.Volume]</label>

to

Code:
<label>$INFO[Control.GetLabel(1),,%]</label>

Edit: This applies to OpenElec, the path to the file may vary on other versions of XBMC.
Reply

Logout Mark Read Team Forum Stats Members Help
Volume steps and unit used in skins (db or %)0