INTERACT FORUM

Networks and Remotes => Remotes => Topic started by: R32NJ on February 21, 2019, 08:15:47 am

Title: How to avoid CTRL-P bringing up Windows printing screen
Post by: R32NJ on February 21, 2019, 08:15:47 am
I have used Girder 3.3 with JRiver for many years but I am starting to have trouble with the app (it keeps asking me for my license key every time I reboot my HTPC).  So I picked up a FLIRC remote receiver to hopefully have a permanent remote control solution that is less reliant on an app for ongoing use. 

I started programming the JRiver keyboard shortcuts but "Play" is CTRL-P which brings up the Win10 printing dialog box.  How can I either turn off CTRL-P being recognized by Win10 or reprogram "Play" to a different key combination in JRiver?
Title: Re: How to avoid CTRL-P bringing up Windows printing screen
Post by: Matt on February 21, 2019, 08:38:13 am
You could customize Resource.xml to customize the shortcut:
https://yabb.jriver.com/interact/index.php?topic=93431.0
Title: Re: How to avoid CTRL-P bringing up Windows printing screen
Post by: R32NJ on February 21, 2019, 10:35:38 am
Thanks Matt.  I'll give this a try.

I usually run my HTPC with just Media Server running as I control it mostly with JRemote (headless most of the time) but I still like to use my hard button remote for simple NEXT/PREV/RATINGS/etc. while I am listening.

Do the keyboard keys that JRiver responds to work with Media Center as well as the full client application or would I need to create custom keys for all the buttons I want with "Global" set to 1?
Title: Re: How to avoid CTRL-P bringing up Windows printing screen
Post by: R32NJ on February 22, 2019, 08:16:39 am
So I am tried adding some custom commands to the Resource.XML which I then placed in the Custom Resources folder.  I learned the key combinations into my FLIRC receiver but these new custom functions are not working.  I can see the FLIRC tool is sending the new key combination but JRiver doesn't respond.

What might be wrong?  Below is the text I added to the custom XML file.

 <ACCELERATORS>

    <!-- Define Ctrl;Shift;P for Pause -->
    <Entry Key="Ctrl;Shift;P" Command="10000" Global="1" />

    <!-- Define Ctrl;Alt;P for Play -->
    <Entry Key="Ctrl;Alt;P" Command="10001" Global="1" />

    <!-- Define Ctrl;S for Stop -->
    <Entry Key="Ctrl;S" Command="10002" Global="1" />

    <!-- Define Ctrl;N for Next Track -->
    <Entry Key="Ctrl;N" Command="10003 Global="1" />

    <!-- Define Ctrl;L for Previous Track -->
    <Entry Key="Ctrl;L" Command="10004" Global="1" />

    <!-- Define Ctrl;Right for Fast Forward -->
    <Entry Key="Ctrl;Right" Command="10008" Global="1" />
   
    <!-- Define Ctrl;Left for Rewind -->
    <Entry Key="Ctrl;Left" Command="10009" Global="1" />

    <!-- Define Ctrl;0-5 for rating tracks while playing -->
    <Entry Key="Ctrl;Shift;Del" Command="10023" Param="0" Global="1" />
    <Entry Key="Ctrl;1" Command="10023" Param="1" Global="1" />
    <Entry Key="Ctrl;2" Command="10023" Param="2" Global="1" />
    <Entry Key="Ctrl;3" Command="10023" Param="3" Global="1" />
    <Entry Key="Ctrl;4" Command="10023" Param="4" Global="1" />
    <Entry Key="Ctrl;5" Command="10023" Param="5" Global="1" />

  </ACCELERATORS>
Title: Re: How to avoid CTRL-P bringing up Windows printing screen
Post by: JimH on February 22, 2019, 09:41:29 am
Did you restart MC (including Media Server)?
Title: Re: How to avoid CTRL-P bringing up Windows printing screen
Post by: R32NJ on February 22, 2019, 10:00:11 am
Yes I did.  So what I did now was I modified the file in the default resources folder instead and that does work.

Do you have any idea what else could be causing the customizations not work when placed in the custom resources XML folder?
Title: Re: How to avoid CTRL-P bringing up Windows printing screen
Post by: JimH on February 22, 2019, 10:04:51 am
Wrong location for Custom Resources?
Title: Re: How to avoid CTRL-P bringing up Windows printing screen
Post by: R32NJ on February 22, 2019, 10:26:16 am
The instructions in the Wiki indicate that the customized "Resource.xml" file is to be placed in a "Custom Resources" folder that has to be created.  This is what did NOT work.

https://wiki.jriver.com/index.php/User_Defined_Global_Keyboard_Shortcuts
Title: Re: How to avoid CTRL-P bringing up Windows printing screen
Post by: JimH on February 22, 2019, 10:29:55 am
For MC24, it would be:

C:\Program Files\J River\Media Center 24\Data\Custom Resources\Resource.xml
Title: Re: How to avoid CTRL-P bringing up Windows printing screen
Post by: R32NJ on February 22, 2019, 10:34:01 am
I am using MC23. Is this my issue?
Title: Re: How to avoid CTRL-P bringing up Windows printing screen
Post by: JimH on February 22, 2019, 10:58:11 am
For MC23, it would be:

C:\Program Files\J River\Media Center 23\Data\Custom Resources\Resource.xml
Title: Re: How to avoid CTRL-P bringing up Windows printing screen
Post by: R32NJ on February 24, 2019, 02:01:37 pm
That is already where I tried and it did not work until I put the commands in the Resource.xml file that is located in the Default Resources folder.