INTERACT FORUM
More => Old Versions => JRiver Media Center 27 for Windows => Topic started by: madmanx on January 11, 2021, 10:40:08 am
-
Hello All!
Currently I have modified resource.xml to include the following hotkey for playing a playlist:
<Entry Key="Alt;1" Command="30007" Param="39765812" />
However, I would like to modify the command so that it uses playlist name instead of playlist id, because I want to be able to create the same playlist name on another computer and use the same resource.xml file to store the hotkey.
I searched the forum and this is all I found:
21.0.38 (1/18/2016)
Changed: Added the PlaylistType parameter to the Playback/PlayPlaylist command so that it's possible to start playback by a playlist name instead of playlist ID.
But I cannot figure out how to use this feature for my purpose.
Any help?
-
There are Command Line Parameters which cannot be accessed by MCC Commands.
See https://wiki.jriver.com/index.php/The_Command_Line (https://wiki.jriver.com/index.php/The_Command_Line)
You have to call MC27.EXE with the command line parameters.
This can be assigned to a hotkey in Resource.XML like this:
<Entry Key="Ctrl;Shift;N" Type="Program" Command="mc27.exe" Param="/PlayNext selected" Global="1" />
-
Thank you for the suggestion!
Here is what I ended up with:
<Entry Key="Ctrl;e" Type="Program" Command="mc27.exe" Param="/PlayReplace TREEPATH=Playlists\MyDancePlaylist" Global="0" />