Kodi Community Forum

Full Version: volume icons depending on volume level?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

Is there a visibility based on the volume level? Something like 'player.volume=50' for 50% volume, so it makes it possible to have different images for different volume levels? I can't find anything in the skinning manual for it.

Thanks
yes, you can use player.volume, it'll return dB values.
so min volume = -60.0 dB
max volume = 0.0 dB

in T! i'm using three different images, with these visible conditions:
<visible>IntegerGreaterThan(player.volume,-41)</visible>
<visible>IntegerGreaterThan(player.volume,-21)</visible>
<visible>IntegerGreaterThan(player.volume,-1)</visible>
You could try using

IntegerGreaterThan(Player.Volume,n)

But I have no idea if it will work

//edit: I'm late Smile
Cheers guys, much appreciated.
One other thing i can't find mention of... what does the visibility condition 'player.passthrough' relate to?

Thanks
That's the condition to use when audio is passed through and XBMC has no control over it's volume.
Ok, like bitstreaming. Cheers Hitcher.