VoxCommando Forum

Help and Support (Using VoxCommando) => XBMC (Old board see 'KODI' above) => Topic started by: Foggy on January 20, 2011, 03:51:18 PM

Title: Show Volume setting
Post by: Foggy on January 20, 2011, 03:51:18 PM
Hi,

Is it possible to have a command that shows the existing volume setting.

Best wishes.
Title: Re: Show Volume setting
Post by: jitterjames on January 20, 2011, 06:12:23 PM
can you be more specific?  system volume?  MM, iTunes, or XBMC?
Title: Re: Show Volume setting
Post by: Foggy on January 20, 2011, 07:09:00 PM
Hi James,

Yes - Sorry.

XBMC

System volume.


Best wishes.
Title: Re: Show Volume setting
Post by: jitterjames on January 20, 2011, 08:24:04 PM
see the attached
Title: Re: Show Volume setting
Post by: Foggy on January 21, 2011, 11:05:59 AM
Cool, Thank you very much.

Best wishes.
Title: Re: Show Volume setting
Post by: Foggy on January 21, 2011, 11:33:42 AM
I meant to add that I do try to understand the examples that you post in the hope it will help me in the future.

However XBMC volume went straight over my head :)

Once again, thank you & Best wishes.
Title: Re: Show Volume setting
Post by: jitterjames on January 21, 2011, 12:15:07 PM
there are a lot of different things going on there!  You need to know about the xbmc http api commands to know about the command GetVolume()

then you need to know what is being returned (you can see this by mousing over the command history for the action that sent the getVolume command.

then you need to know a bit about regular expressions.  We use regular expressions to extract the volume because xbmc is returning extra text that we don't want.

then we show the info.  If you look at the "what artist is this" commands you will see that they work basically the same way.

:)