volume icons depending on volume level? - 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: volume icons depending on volume level? (/showthread.php?tid=101254) |
volume icons depending on volume level? - liquidskin76 - 2011-05-11 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 - xbs08 - 2011-05-11 Look in this thread... http://forum.xbmc.org/showthread.php?tid=79468 - ronie - 2011-05-11 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> - Jeroen - 2011-05-11 You could try using IntegerGreaterThan(Player.Volume,n) But I have no idea if it will work //edit: I'm late - liquidskin76 - 2011-05-11 Cheers guys, much appreciated. - liquidskin76 - 2011-05-11 One other thing i can't find mention of... what does the visibility condition 'player.passthrough' relate to? Thanks - Hitcher - 2011-05-11 That's the condition to use when audio is passed through and XBMC has no control over it's volume. - liquidskin76 - 2011-05-11 Ok, like bitstreaming. Cheers Hitcher. |