Difference between revisions of "User Defined Global Keyboard Shortcuts"

From JRiverWiki
Jump to: navigation, search
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Media Center 12.0.240 and later support user defined keyboard shortcuts.  These shortcuts can be made global so that they are available even with Media Center minimized.
+
Media Center supports user defined keyboard shortcuts.  These shortcuts can be made global so that they are available even with Media Center minimized.
  
 
Currently, defining these shortcuts requires working with XML in a text editor.  Below we'll step through how to get them up and running.
 
Currently, defining these shortcuts requires working with XML in a text editor.  Below we'll step through how to get them up and running.
 +
  
 
'''Setup'''
 
'''Setup'''
  
 
Place this sample file:<br>
 
Place this sample file:<br>
ftp://ftp.jriver.com/pub/downloads/music/tmp/Resource.xml
+
ftp://ftp.jriver.com/pub/downloads/music/misc/Resource.xml<br><br>
 +
 
 +
In this folder: (you'll need to create the Custom Resources folder)<br>
 +
C:\Program Files\J River\Media Center 16\Data\Custom Resources\Resource.xml<br><br>
  
In this folder: (you'll need to create the Custom Resources folder)
+
(Replace "Media Center 16" with the version you have.)
C:\Program Files\J River\Media Center 12\Data\Custom Resources\Resource.xml
 
  
Then edit this file with Notepad.  It has some instructions at the top of the file.
+
Then edit this file with Notepad.  It has some instructions at the top of the file.<br><br>
  
The shortcuts specified in this file will be merged with the default keyboard shortcuts specified here:
+
The shortcuts specified in this file will be merged with the default keyboard shortcuts specified here:<br>
C:\Program Files\J River\Media Center 12\Data\Default Resources\Resource.xml
+
C:\Program Files\J River\Media Center 16\Data\Default Resources\Resource.xml<br><br>
  
 
''' Commands '''
 
''' Commands '''
  
You can use any MCC (MC Command) in this file.  They are described here:
+
You can use any MCC (MC Command) in this file.  They are described here:<br>
http://wiki.jrmediacenter.com/index.php/Media_Center_windows_messages
+
http://wiki.jriver.com/index.php/Media_Center_windows_messages<br><br>
  
''' Sample '''
+
You can also run any program using Type="Program" for the command.  In this case, the command is the executable and the param is the arguments to pass the executable.
  
The sample shows how to make global shortcuts so that:
 
Shift;1...5 will act as player controls
 
Ctrl;Shift;1...9 will play designated playlists
 
  
''' MCE Remote '''
+
''' Sample '''
  
It would be possible to create a shortcut block to support the MCE remote. Please share it on Interact (or here) if you do this.
+
The sample shows how to make global shortcuts so that:<br>
 +
Ctrl;1...5 will act as player controls<br>
 +
Ctrl;6...7 will run a program (requires Media Center 13.0.145 and later)<br>
 +
Ctrl;Shift;1...9 will play designated playlists<br><br>

Latest revision as of 06:51, 1 May 2011

Media Center supports user defined keyboard shortcuts. These shortcuts can be made global so that they are available even with Media Center minimized.

Currently, defining these shortcuts requires working with XML in a text editor. Below we'll step through how to get them up and running.


Setup

Place this sample file:
ftp://ftp.jriver.com/pub/downloads/music/misc/Resource.xml

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

Commands

You can use any MCC (MC Command) in this file. They are described here:
http://wiki.jriver.com/index.php/Media_Center_windows_messages

You can also run any program using Type="Program" for the command. In this case, the command is the executable and the param is the arguments to pass the executable.


Sample

The sample shows how to make global shortcuts so that:
Ctrl;1...5 will act as player controls
Ctrl;6...7 will run a program (requires Media Center 13.0.145 and later)
Ctrl;Shift;1...9 will play designated playlists