Friday, July 3, 2015

Adding audio delay keyboard shortcuts to PLEX

I've recently learned that there is a possibility to add audio delay keyboard mappings for the Plex Home Theater on windows.

To do this, edit the file located in:
C:\Program Files (x86)\Plex Home Theater\system\keymaps\keyboard.xml

Add these entries:
<keymap>
  <global>
    <keyboard>
      <j>AudioDelayMinus</j>
      <k>AudioDelayPlus</k>
      <j mod="ctrl">SubtitleDelayMinus</j>
      <k mod="ctrl">SubtitleDelayPlus</k>
    <keyboard>
  <global>
<keymap>

to the file. That is, add he AudioDelayMinus and AudioDelayPlus under the existing "keyboard" tag if it exists, or create a new keyboard.xml file and write the above in it.

This will assign the keyboard buttons j and k to the AudioDelayMinus and AudioDelayPlus respectively.

To put this together with my Plex + Harmony + FLIRC configuration, I then assigned the channel up and channel down buttons of my "Plex" device (actually configured as a Panasonic TC-P65VT30, as mentioned in: http://programming-headbanging.blogspot.co.il/2014/08/configuring-plex-home-theater-with.html) on the harmony remote to the j and k keyboard keys to be able to change the audio delay while watching a movie through Plex.

There are other short-cuts available as well, generally, all those that were in XBMC's keymap:
http://kodi.wiki/view/keymap