Linux teach remote to adjust audio sync
#1
I have the following remote: http://wiki.xbmc.org/index.php?title=VRC-1100

How can I programn a button to open the audio sync screen and adjust the audio sync up and down?
Reply
#2
any ideas?
Reply
#3
is this possible?
Reply
#4
if you know how to map your remote to keyboard presses then set one button to 'a' on the keyboard.

sorry if that's no help.
Reply
#5
For the VRC-1100 (wiki), you can create (or add to your existing) keyboard.xml (wiki) file in your userdata (wiki)/keymaps folder and specify the following remote button assignment:
Code:
<some-button>AudioDelay</some-button>
in the <FullscreenVideo> and <VideoMenu> sections.

If you don't already have a keyboard.xml file in your userdata/keymaps folder and you aren't making any other remote button assignments, the contents your keyboard.xml would look like this:
Code:
<keymaps>
  <FullscreenVideo>
    <keyboard>
      <some-button>AudioDelay</some-button>
    </keyboard>
  </FullscreenVideo>
  <VideoMenu>
    <keyboard>
      <some-button>AudioDelay</some-button>
    </keyboard>
  </VideoMenu>
</keymaps>
Reply
#6
(2012-10-20, 00:12)artrafael Wrote: For the VRC-1100 (wiki), you can create (or add to your existing) keyboard.xml (wiki) file in your userdata (wiki)/keymaps folder and specify the following remote button assignment:
Code:
<some-button>AudioDelay</some-button>
in the <FullscreenVideo> and <VideoMenu> sections.

If you don't already have a keyboard.xml file in your userdata/keymaps folder and you aren't making any other remote button assignments, the contents your keyboard.xml would look like this:
Code:
<keymaps>
  <FullscreenVideo>
    <keyboard>
      <some-button>AudioDelay</some-button>
    </keyboard>
  </FullscreenVideo>
  <VideoMenu>
    <keyboard>
      <some-button>AudioDelay</some-button>
    </keyboard>
  </VideoMenu>
</keymaps>

what do I use for {somebutton}?
How do I know what the names of the buttons are on the remote?:
Reply
#7
anyone?
Reply
#8
Enable debug log (wiki)ging in XBMC, press the button you want to assign for this function several times, exit XBMC, look in your debug log (wiki) (xbmc.log) for those keypresses, note how XBMC identified that key, use that keyname for <some-button> in your keyboard.xml.
Reply
#9
(2012-10-22, 19:59)artrafael Wrote: Enable debug log (wiki)ging in XBMC, press the button you want to assign for this function several times, exit XBMC, look in your debug log (wiki) (xbmc.log) for those keypresses, note how XBMC identified that key, use that keyname for <some-button> in your keyboard.xml.

Thanks, now how does xbmc know from the xml whether I want audio delay up or audio delay down?
Reply
#10
(2012-10-22, 22:29)qwertyjjj Wrote: Thanks, now how does xbmc know from the xml whether I want audio delay up or audio delay down?

Err... it doesn't know. You have to tell it what you want it to do. Use the right/left arrow keys to adjust delay.

Reply
#11
I have mapped the "chan +/-" buttons on my MCE remote to increase/decrease audio delay. I just but this in my keymaps/remote.xml:

Quote:<keymap>
<FullscreenVideo>
<remote>
<pageplus>AudioDelayPlus</pageplus>
<pageminus>AudioDelayMinus</pageminus>
</remote>
</FullscreenVideo>
</keymap>

Hope that helps.
Reply
#12
(2012-10-22, 22:46)artrafael Wrote:
(2012-10-22, 22:29)qwertyjjj Wrote: Thanks, now how does xbmc know from the xml whether I want audio delay up or audio delay down?

Err... it doesn't know. You have to tell it what you want it to do. Use the right/left arrow keys to adjust delay.

That was my point! In the xml a few posts above it just says AudioDelay.
What is the xbmc command to have AudioDelay+ and AudioDelay- mapped to different keys?

EDIT: I see the answer 1 above might work.
Reply
#13
Indeed, the commands are AudioDelayPlus and AudioDelayMinus.
Reply
#14
(2012-10-22, 22:46)artrafael Wrote:
(2012-10-22, 22:29)qwertyjjj Wrote: Thanks, now how does xbmc know from the xml whether I want audio delay up or audio delay down?

Err... it doesn't know. You have to tell it what you want it to do. Use the right/left arrow keys to adjust delay.

Pretty much the button you selected for Audio delay, will pop up the audio delay slider, then just increase/decrease as required.
Media Companion Dev.
Media Companion - Kodi / XBMC - Media Companion
Reply
#15
so do i put it in keyboard.xml or remote.xml?
Reply

Logout Mark Read Team Forum Stats Members Help
teach remote to adjust audio sync0