VoxCommando

Help and Support (Using VoxCommando) => XBMC (Old board see 'KODI' above) => Topic started by: MrWolf on June 30, 2013, 06:56:19 PM

Title: shortcut for volume amplification
Post by: MrWolf on June 30, 2013, 06:56:19 PM
Hey gents,

I'm sure you're already aware of the feature in XBMC to alter the amplification for any media that has not been properly normalised and is too quiet.

I can't find any shortcut to alter it using Vox.  Do you know of any?

The shortcut is there for audio offset: XJson.Btn.KB a

...and that is a really handy thing to have, I just really want to be able to alter amplification in the same way.  Any ideas?

-P
Title: Re: shortcut for volume amplification
Post by: jitterjames on June 30, 2013, 07:39:42 PM
I'm not aware of any way to do this, although there is probably a way to pull up the audio settings screen while watching a movie and then you can do it manually, as you would adjust the offset by pressing 'a'.  Let me see if I can at least figure out how to get that window open...

It would be nice if the json api gave us access to this an a whole lot of other audio/video settings, but at the moment it seems to be "volume" and that's about it!  If you have time feel free to try to make a request for this stuff to be added.
Title: Re: shortcut for volume amplification
Post by: MrWolf on June 30, 2013, 07:54:44 PM
Thanks mate! Always appreciated. I had a look around for shortcuts but came up empty.

I shall drop them a line when I get a sec. I'm watching Disney's Alladin right now. I feel no need to quantify that fact.

-P
Title: Re: shortcut for volume amplification
Post by: MrWolf on June 30, 2013, 08:26:40 PM
http://forum.xbmc.org/showthread.php?tid=124562&pid=1453459#pid1453459

Someone already requested it.

I've added my interest.

If we can at least get the window before it to pop up I can make a macro if there's no other option.

-P
Title: Re: shortcut for volume amplification
Post by: jitterjames on June 30, 2013, 09:51:00 PM
Here are two commands to open the audio and video OSD settings.  There is also a command "audio booster" which is a macro.  It will of course only work on "analog" audio. For digital passthrough there is no volume amplification.

The macro actually works pretty well.  It opens the window, goes down, goes right 5 times (you might want to increase this) and then closes the window with "back".  It all happens very quickly.

Originally I tried to use the json command "Gui.Activatewindow," which is what I usually use with Frodo, but discovered another xbmc bug (it actually opens the window, but freezes and then comes back as "can't connect to xbmc" thus introducing an unpleasant delay of almost a second). So instead I used the execbuiltin version of activatewindow, which is only available to us thanks to the VoxTools addon for xbmc.

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<commandGroup open="False" name="XBMC OSD Settings" enabled="True" prefix="" priority="0" requiredProcess="" description="">
  <command id="324" name="Audio settings" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>XJson.ExecBuiltin</cmdType>
      <cmdString>activatewindow(osdaudiosettings)</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <phrase>Audio settings</phrase>
  </command>
  <command id="332" name="Audio Booster" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>XJson.ExecBuiltin</cmdType>
      <cmdString>activatewindow(osdaudiosettings)</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>XJson.Raw</cmdType>
      <cmdString>Input.ExecuteAction&amp;&amp;"action":"home"</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>XJson.Raw</cmdType>
      <cmdString>Input.ExecuteAction&amp;&amp;"action":"down"</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>XJson.Raw</cmdType>
      <cmdString>Input.ExecuteAction&amp;&amp;"action":"right"</cmdString>
      <cmdRepeat>5</cmdRepeat>
    </action>
    <action>
      <cmdType>XJson.Raw</cmdType>
      <cmdString>Input.ExecuteAction&amp;&amp;"action":"back"</cmdString>
      <cmdRepeat>5</cmdRepeat>
    </action>
    <phrase>Audio Booster</phrase>
  </command>
  <command id="336" name="Video settings" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>XJson.ExecBuiltin</cmdType>
      <cmdString>ActivateWindow(osdvideosettings)</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <phrase>Video settings</phrase>
  </command>
</commandGroup>
Title: Re: shortcut for volume amplification
Post by: jitterjames on July 02, 2013, 08:37:35 AM
Did you get a chance to try this yet?
Title: Re: shortcut for volume amplification
Post by: MrWolf on July 02, 2013, 10:54:55 AM
Not yet buddy.

It's my birthday so I've been getting spoilt by the missus which has involved lots of travelling around.

I had an owl on my arm a couple of hours ago!

Will have a crack at it when I get home if she doesn't force me to do more awesome things. She is a pain ;)

-P
Title: Re: shortcut for volume amplification
Post by: jitterjames on July 02, 2013, 11:08:45 AM
Cool.  Enjoy the big day!
Title: Re: shortcut for volume amplification
Post by: MrWolf on July 02, 2013, 12:13:44 PM
She literally just presented me with a trumpet. Not even joking.

Best girlfriend ever.

-P
Title: Re: shortcut for volume amplification
Post by: MrWolf on July 02, 2013, 03:32:45 PM
http://www.thekeep.org/~kunoichi/kunoichi/red_dwarf/ace.jpg

In case you've never seen Red Dwarf, this is Ace Rimmer and everyone that met him felt compelled to say "what a guy!!"

I feel this way about you right now.

Works a treat :D

-P
Title: Re: shortcut for volume amplification
Post by: jitterjames on July 02, 2013, 04:17:52 PM
We'll have to call that your present for this year.  I can't compete with a trumpet.
Title: Re: shortcut for volume amplification
Post by: jitterjames on July 02, 2013, 04:22:45 PM
Not yet buddy.

Don't buddy me, buddy

Title: Re: shortcut for volume amplification
Post by: MrWolf on July 03, 2013, 05:52:11 AM
Quote
Don't buddy me, buddy



Haha, Mint.  Now to listen to more Moxy Fruvous.

-P
Title: Re: shortcut for volume amplification
Post by: jitterjames on February 26, 2015, 06:26:25 PM
another way to do this...

http://voxcommando.com/forum/index.php?topic=2010
Title: Re: shortcut for volume amplification
Post by: MrWolf on March 02, 2015, 12:11:07 PM
Wicked! Thanks for letting me know matey!

Neesha and I will finally be moving into our dream home in a couple weeks and there will be much automation happening and I shall remember to implement this :)

Xxx
Title: Re: shortcut for volume amplification
Post by: nime5ter on March 02, 2015, 12:56:20 PM
Say what? You mean the fantasy finally becomes a reality? Congrats!  :yay
Title: Re: shortcut for volume amplification
Post by: MrWolf on May 11, 2015, 07:03:08 PM
I could have sworn I'd replied to this!

We are in!  The house is shaping up and is so exciting! The music room is now called "The Den" and has all my music gear setup, two big sexy desks and loads of LED lighting ;)  Will have to set up my controller from Kalle soon.

I'll ping some photos across on another thread.

On this topic, thank you very much to all involved, it works great :)

-P

xxx