NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Forum Issues & Documentation NPVR Documentation v
« Previous 1 2 3 4 5 Next »
Advanced Remote Config

 
  • 0 Vote(s) - 0 Average
Advanced Remote Config
JP23
Offline

Senior Member

Posts: 405
Threads: 98
Joined: Oct 2007
#1
2012-03-22, 07:15 PM (This post was last modified: 2012-03-22, 10:37 PM by JP23.)
Hi,

I've generated some documentation regarding using a remote without NPVR being in focus, through both the Hauppauge IR software and IR Server Suite.

I've been using mine this way for a few years, but I think a lot of users don't know what's possible, and while there is information on the forums it's scattered around, hard to find, and a lot of the posts refer to attachments that have now been deleted due to their age.

So, is this something that should be on the wiki?

Any suggestions/improvements/criticisms?

All 3 attachments referred to are in the one zip file attached.


Advanced Remote Configuration

Using Remotes without NPVR in focus, through Hauppauge IR software or IR Server Suite

Needing NPVR to have focus in order to use your remote can be a major nuisance. It is possible to have your remote commands sent directly to NPVR whether or not it is the program in focus. This is particularly useful with dual display setups; I can browse the web on the monitor attached to my NPVR server while someone else continues to use the remote to operate NPVR, running on a secondary display.
This can be done using ‘window messages’ targeting NPVR.
We just need to know the message codes that correspond to various commands, and how to implement them in either the Hauppauge IR software, or IR server suite.

Hauppauge IR Software

As standard this software sends commands to the window in focus.
To send the commands direct to NPVR, we can target it using its window class*. (There are other options, but this works best)** This is done with the ‘findwnd’ command. Then add the appropriate message code for the commands you want to send. Details of the message codes are attached.

For example, the line specifying the ‘arrow-up’ command looks like this:

NAVUP={findwnd(WindowsForms10.Window.8.app.0.33c0d9d,,)}{SendMsg(32775,38,0)}

32775 appears in all the commands, 38 is the code for the 'up arrow' keystroke, and the last number is always zero.
'WindowsForms10.Window.8.app.0.33c0d9d' is the 'window class' of NPVR.

You can use the attached irremote.ini file to control NPVR exclusively with a Hauppauge 45 button remote. (This one : http://www.nextpvr.com/nwiki/pmwiki.php?...ttonRemote)

The green power button will start NPVR. (Change C:\Progra~1\…. To C:\Progra~2\... in 64 bit Windows versions.)

You can change the functions of buttons as you wish to add extra functionality.
For example, in the attached file the ‘text’ and ‘subcc’ keys have no commands associated with them, so these could be set to other keystrokes, or to trigger .bat files (i.e. to close NPVR, or tell the PC to sleep).

Additional info on using this software can be found here: http://www.hazeveld.demon.nl/Docs/irremo...v22180.txt

IR Server Suite

IR Server Suite is a powerful and easy to use program that, with a supported receiver, will allow you to use almost any remote control with your PC.

It can be downloaded here: http://forum.team-mediaportal.com/thread...ses.75092/

Once installed and configured with your receiver, setup for NPVR will be done in the ‘Translator’ component. Guide here: http://wiki.team-mediaportal.com/1_MEDIA...Translator

To set this up for NPVR you will need to add each key and assign commands to it. These should be set up as ‘system wide’ commands.

For each key you will need to follow these steps:
• Click the ‘New’ button and teach Translator the command by pressing the button on your remote.
• Select the ‘Window Message’ tab
• Under ‘Target’ select ‘Class’ and paste in the Window Class of NPVR:
WindowsForms10.Window.8.app.0.33c0d9d
• Enter 32,775 in the ‘Message’ box.
• Enter the appropriate message code from the table attached in the ‘Word Param’ box. 'Long Param' should be left at 0
• Press ‘Set’.

The configuration can be exported to an xml file. I’ve attached a sample XML configuration which should work with a Hauppauge 45 button remote if imported. Again, the volume keys alter the system wide volume, and the ‘text’ and ‘subcc’ keys are unassigned.

* Window class is currently ‘WindowsForms10.Window.8.app.0.33c0d9d’ It is possible that this could change with a future release, but you can check what it is with Spy++

** You can target the window name, but the window name can change, as it does when you start watching something. Also, other windows can have ‘NPVR’ in their title (i.e. a browser when looking at the support forum) and can receive commands by mistake. Similarly, IR Server Suite can target ‘NextPVR.exe’, but this stops working as soon as you enable a second instance for an NMT or MPV.
steeb
Offline

Posting Freak

Posts: 2,667
Threads: 183
Joined: Nov 2006
#2
2012-03-22, 10:06 PM
JP23,

rushing through at the moment BUT this SHOULD definitely be on the wiki Big Grin

What info would you like for this?!

v best

steeb
[SIZE="1"]When you have eliminated the impossible, whatever remains, however improbable, must be the truth.[/SIZE]

[SIZE="2"]NextPVR Documentation (wiki) admin/contributor[/SIZE]

profile on wiki & computer specifications
JP23
Offline

Senior Member

Posts: 405
Threads: 98
Joined: Oct 2007
#3
2012-03-22, 10:39 PM
Just realised that my instructions for IRSS were very wrong, corrected now.
steeb
Offline

Posting Freak

Posts: 2,667
Threads: 183
Joined: Nov 2006
#4
2012-03-22, 10:52 PM
JP23,

there is no such thing as wrong! Just not perfect is always my philosophy Big Grin

About to dig into this and come up with comments, would really love this to go on the wiki.....

cheers

steeb
steeb
Offline

Posting Freak

Posts: 2,667
Threads: 183
Joined: Nov 2006
#5
2012-03-22, 11:05 PM
Dear JP23,

just because I am quite an anal organized person and like to keep things for references sake, and that others can keep track (me not sole wiki admin!), I see that you do not currently have wiki author access? If you would like to put this on the wiki could you request wiki authorship on this thread here? Sorry to be such a pain :eek:

cheers

steeb
steeb
Offline

Posting Freak

Posts: 2,667
Threads: 183
Joined: Nov 2006
#6
2012-03-22, 11:21 PM
JP23 the first thing I guess is where to put this stuff on the wiki?

I see my good compadre McBainUK is currently online and so would suggest surely it has to be under "remote controls"?

http://www.nextpvr.com/nwiki/pmwiki.php?...teControls

Then would suggest splitting each section you currently have into individual remotes and their "Advanced" capabilities?

Let us see what McBainUK has to say Wink

cheers

steeb
steeb
Offline

Posting Freak

Posts: 2,667
Threads: 183
Joined: Nov 2006
#7
2012-03-22, 11:25 PM
Hiya McBainUK,

having briefly looked through it this may alter the way that Channel Changers is currently done? Or may not?! Hope you are well, long time no catch up Wink

cheers

steeb
mulletback
Offline

Member

USA
Posts: 237
Threads: 10
Joined: Feb 2006
#8
2012-03-23, 10:52 AM
JP23 Wrote:The green power button will start NPVR. (Change C:\Progra~1\…. To C:\Progra~2\... in 64 bit Windows versions.)

If the green power button is programmed to start NPVR, pressing green power will also return focus to the NPVR window.
npvr5/win10-64/b450m-a/ryzen3400g/radeonvega11/wintvquadHD/clearstream2antenna+hivhffoldeddipole
/schedulesdirect
JP23
Offline

Senior Member

Posts: 405
Threads: 98
Joined: Oct 2007
#9
2012-03-23, 10:58 AM
mulletback Wrote:If the green power button is programmed to start NPVR, pressing green power will also return focus to the NPVR window.

That is correct, but will not be necessary with this approach, as you don't need focus.
steeb
Offline

Posting Freak

Posts: 2,667
Threads: 183
Joined: Nov 2006
#10
2012-03-24, 11:25 PM
Hi JP23,

have moved this thread into the NextPVR doc thread instead of general doc thread, hope that is OK?

thoughts to follow..

cheers

steeb
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Additional remote info from Wiki Grampz 20 10,576 2012-02-29, 04:10 PM
Last Post: ACTCMS
  NextPVR wiki - remote control topics McBainUK 2 3,785 2012-01-14, 11:50 PM
Last Post: steeb
  Advanced Configuration (config.xml) imilne 6 5,327 2011-09-18, 09:53 AM
Last Post: imilne
  Advanced Configuration (config.xml) crossnet 1 2,955 2011-09-10, 03:16 PM
Last Post: imilne
  Hauppauge 45 button remote wiki page for NPVR mulletback 10 6,712 2011-04-13, 01:29 PM
Last Post: Clanky
  Manual Record - Advanced Rules McBainUK 3 3,757 2010-10-19, 10:37 PM
Last Post: steeb

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode