volume icons depending on volume level?
#1
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
Reply
#2
Look in this thread...
http://forum.xbmc.org/showthread.php?tid=79468
 
  • Intel NUC Kit DN2820FYKH ~ Crucial DDR3L SO-DIMM 4GB ~ SanDisk ReadyCache 32GB SSD ~ Microsoft MCE model 1039 RC6 remote
Reply
#3
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>
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#4
You could try using

IntegerGreaterThan(Player.Volume,n)

But I have no idea if it will work

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

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

Logout Mark Read Team Forum Stats Members Help
volume icons depending on volume level?0