INTERACT FORUM
Windows => JRiver Media Center 34 for Windows => Topic started by: bogdanbz on May 06, 2025, 01:17:06 pm
-
According to the sample Resources.xml file provided for defining custom accelerators, TranslateFlags with a value of 32 should work for all playback engine commands while you are playing a media file:
TranslateFlags: flags that determine when and how an accelerator is translated (binary or'd together)
.....................................
32: targets playback engine / display (DVD, image playback, etc.)
This seems to work fine for playback engine commands listed in the "Default Resources'Resources.xml" file such as this command that can be used to switch to the next audio stream in a media file which has several audio streams.
<Entry Key="Ctrl;Shift;L" Command="28033" Param="-1" TranslateFlags="32" />
And if I add this entry in my "Custom Resources'Resources.xml" file to have a keyboard shortcut to switch to the previous audio stream, it works too:
<Entry Key="Ctrl;Shift;K" Command="28033" Param="-2" TranslateFlags="32" />
But other MCC commands listed as being Playback Engine commands here: https://wiki.jriver.com/index.php/Media_Center_Core_Commands don't work.
An example:
<!-- Playback engine - subtitle delay -500ms -->
<Entry Key="Ctrl;F1" Command="28037" Param="-500" TranslateFlags="32" />
I have to use TranslateFlags="13" for them to trigger their action while I play a video file in "Display View" in fullscreen.