Search This Blog

Saturday, August 10, 2013

PVR Remote Programming

Long time no write.  But things have been quite stable for me in a post Frodo world.  My silent Streacom build (see below) runs an absolute treat...so I haven't been doing all that much.

But I did finally work out how to re-program my remote specifically for the PVR section - because obviously some normal streamed movies/tv stuff doesn't make sense with LiveTV.

In a nutshell, I have done this:

[code]
<!-- these overule FullScreenVideo but anything undefined drops back to there -->
  <FullscreenLiveTV>
    <keyboard>
      <i mod="ctrl">CodecInfo</i>    
      <w>ZoomIn</w>
      <y mod="ctrl">ZoomOut</y>             
      <l>XBMC.Action(reloadkeymaps)</l>
      <o>XBMC.ActivateWindowAndFocus(10610)</o>
      <pageup>ChannelUp</pageup>    
      <Pagedown>ChannelDown</Pagedown> 
      <left>PreviousChannelGroup</left>
      <right>NextChannelGroup</right>
      <up>ChannelUp</up>
      <down>ChannelDown</down>
      <q>PlayerControl(Record)</q>
    </keyboard>
  </FullscreenLiveTV>
  <!-- and basic handling for PVR windows -->
  <PVROSDChannels>
    <keyboard>
      <o>Close</o>
      <backspace>Close</backspace>
      <escape>Close</escape>
      <c>Close</c>
    </keyboard>
  </PVROSDChannels>
  <PVROSDGuide>
    <keyboard>
      <backspace>Close</backspace>
      <escape>Close</escape>
    </keyboard>
  </PVROSDGuide>
  <PVROSDDirector>
    <keyboard>
      <backspace>Close</backspace>
      <escape>Close</escape>
    </keyboard>
  </PVROSDDirector>
  <PVROSDCutter>
    <keyboard>
      <backspace>Close</backspace>
      <escape>Close</escape>
    </keyboard>
  </PVROSDCutter>
  <MyTVSettings>
    <keyboard>
      <backspace>PreviousMenu</backspace>
    </keyboard>
  </MyTVSettings>
</code>
[code]

Basically, get the channel keys to work properly, and bind the fast channel guide to the guide button for very easy scanning what's on and flicking to it.  The only tricky bit was digging up the windowid as it wouldn't work by name...

For reference, my standard video playback stuff looks like:

[code]
 <FullscreenVideo>
    <keyboard> 
      <f5 mod="ctrl,alt">Stop</f5>  <!--Added to support (GSB Home Jump) feature-->
      <w>AudioDelayPlus</w>
      <y mod="ctrl">AudioDelayMinus</y>     
      <s mod="ctrl">NextSubtitle</s>
      <m mod="ctrl">audionextlanguage</m>
      <i mod="ctrl">RunScript(script.xbmc.subtitles)</i>
      <f>FastForward</f>
      <r>Rewind</r>
      <period>StepForward</period>
      <comma>StepBack</comma>
      <backspace>SmallStepBack</backspace>
      <quote>SmallStepBack</quote>
      <opensquarebracket>BigStepForward</opensquarebracket>
      <closesquarebracket>BigStepBack</closesquarebracket>
      <return>Pause</return>
      <enter>Pause</enter>
      <m>OSD</m>
      <c>OSD</c>
      <i>Info</i>
      <o>CodecInfo</o>
      <z>AspectRatio</z>
      <t>ShowSubtitles</t>
      <t mod="ctrl">SubtitleAlign</t>
      <l>NextSubtitle</l>
      <left>StepBack</left>
      <right>StepForward</right>
      <up>BigStepForward</up>
      <down>BigStepBack</down>
      <a>AudioDelay</a>
      <escape>Fullscreen</escape>
      <v>XBMC.ActivateWindow(Teletext)</v>
      <up mod="ctrl">SubtitleShiftUp</up>
      <down mod="ctrl">SubtitleShiftDown</down>
      <zero>Number0</zero>
      <one>Number1</one>
      <two>Number2</two>
      <three>Number3</three>
      <four>Number4</four>
      <five>Number5</five>
      <six>Number6</six>
      <seven>Number7</seven>
      <eight>Number8</eight>
      <nine>Number9</nine>
    </keyboard>
  </FullscreenVideo>
[/code]

..and all this is used with a Harmony 650 set as an MCE Extender, and XBMCCustomRegis

All working very well with Frodo 12.2 on Windows 7 64 bit

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.