Kodi Community Forum
different ways to display volume - 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: different ways to display volume (/showthread.php?tid=79468)



different ways to display volume - zwat - 2010-08-22

is there different ways to display the volume osd? think i've only seen the regular bar.


- Hitcher - 2010-08-22

How do you want to display it?


- mcborzu - 2010-08-22

Pretty much you can display it alot of ways:

You can make it vertical like Night
You can put a ball at the end like I do in the pausebar of Night
You can make it look like increasing Volume bars like in Alaska
You could make it go left to right with a rotate animation
etc...


- zwat - 2010-08-22

was thinking digits or animation and what skins have that so i could steal me some code.
alaskas digit thing seems kewl. i'll try play with that.


- zwat - 2010-08-22

made a mockup of my idea for the night skin. with black background for contrast
Image
does this look ok. is it at all possible to code?


- Hitcher - 2010-08-22

I'd code each 'dot' as a separate image with visible conditions for each like so -

<visible>IntegerGreaterThan(player.volume,-60)</visible>

<visible>IntegerGreaterThan(player.volume,-50)</visible>

<visible>IntegerGreaterThan(player.volume,-40)</visible>

<visible>IntegerGreaterThan(player.volume,-30)</visible>

<visible>IntegerGreaterThan(player.volume,-20)</visible>

<visible>IntegerGreaterThan(player.volume,-10)</visible>

<visible>IntegerGreaterThan(player.volume,-0)</visible>


- MrLobster - 2010-08-22

Anyway XBMC can just read what the master volume on windows is.

I ask because I have setup my Harmony Remote up to change the master volume, rather than XBMC internal volume, as I can then use the remote to change volume during Bluray playback using PowerDVD10.