INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Custom hot keys = cannot download ftp resource.xml file  (Read 540 times)

Mark_A_W

  • Recent member
  • *
  • Posts: 21
Custom hot keys = cannot download ftp resource.xml file
« on: May 03, 2021, 05:42:52 am »

Hi JRiver

I want to change my skip/seek hotkeys from CTRL+Arrow to just Arrows, to work with an Air Mouse.  It just scrolls around the UI, I want it to seek/skip.

I think I have to make custom hotkeys, using an downloaded XML file.    I cannot for the life of me download this ftp sourced xml file.   Chrome just wants to open an app..and only browsers are selectable..and nothing works.

https://wiki.jriver.com/index.php/User_Defined_Global_Keyboard_Shortcuts

It no workee.  I'm pretty good at the interwebs, but this has me stumped.

Help please:

1. Am I on the right track with the custom hot keys?   If I hold CTRL on the keyboard and click around with the Air Mouse it does what I want.
2. If so, how do you download that file??

(A hotkey GUI would be much, much nicer!)


Thanks
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2612
Re: Custom hot keys = cannot download ftp resource.xml file
« Reply #1 on: May 03, 2021, 10:48:03 am »

The file is already part of MC27, no need to download it.
You can find it in C:\Program Files\J River\Media Center 28\Data\Default Resources\Resource.xml

If you can't open it by right-click->Open with..., you can just open Notepad++ (or even Notepad) and just drag&drop the file on top of it.

Editing these lines might do what you want - find them and add the "Ctrl;" on the first 2 and remove from the other 2 to switch their mapping:
This is untested - it may have side effects as the left/right are basic UI navigation keys...

Code: [Select]
    <Entry Key="Left" Command="28004" TranslateFlags="32" />
    <Entry Key="Right" Command="28005" TranslateFlags="32" />
(...)
    <Entry Key="Ctrl;Right" Command="10008" Param="0" TranslateFlags="17" />
    <Entry Key="Ctrl;Left" Command="10009" Param="0" TranslateFlags="17" />
Logged

Mark_A_W

  • Recent member
  • *
  • Posts: 21
Re: Custom hot keys = cannot download ftp resource.xml file
« Reply #2 on: May 03, 2021, 08:28:23 pm »

Thanks Zybex, yes, I did find the default file in my install.

Is the workflow described still valid?   Create a custom copy, hack away, and JRiver will merge them?   (Default loaded first, then custom mods?  Or they would get wiped).


Or do I just edit the default resources version?    (Obviously create a backup!)


"In this folder: (you'll need to create the Custom Resources folder)
C:\Program Files\J River\Media Center 16\Data\Custom Resources\Resource.xml

(Replace "Media Center 16" with the version you have.)

Then edit this file with Notepad. It has some instructions at the top of the file.

The shortcuts specified in this file will be merged with the default keyboard shortcuts specified here:
C:\Program Files\J River\Media Center 16\Data\Default Resources\Resource.xml"

I'll try it both ways and see.   I agree, messing with the arrow keys could go pear shaped.
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2612
Re: Custom hot keys = cannot download ftp resource.xml file
« Reply #3 on: May 04, 2021, 10:09:21 am »

Yes, you should be able to add your own Resources.xml in the Custom Resources folder. You only need the 2 mappings you want on it to override the default ones, no need for a full copy of the resources xml.
Logged
Pages: [1]   Go Up