INTERACT FORUM
More => Old Versions => JRiver Media Center 31 for Windows => Topic started by: blgentry on July 06, 2023, 08:31:37 am
-
Hello,
A while back I was experimenting with MCC 10048:
10048 MCC_SEEK int nPositionMilliseconds
My application is to map hot keys to jump to the middle, end, etc of a playing file. This MCC doesn't work very well for that particular purpose because it's not possible to calculate the number of milliseconds and then pass it to a hot key, as the hot keys are statically defined in Resource.xml .
I looked for another MCC for Seek that would take a percentage, but I don't think it exists. Maybe a new one can be created? Or 10048 could be modified to take a percentage (0 - 100) as an option. For example the default can be milliseconds but choosing option 1 explicitly would make it a percentage. Like:
<Entry Key="Ctrl;5" Command="10048" Param="50,1" />
Thanks for reading.
Brian.
-
We could accept negative numbers to mean percent? -50 would seek to the middle. Or we could add a new MCC. What do you recommend?
-
I think just adding this is clean:
NEW: Added an MCC to seek to a percent (MCC_SEEK_PERCENT / 10072).
-
Awesome. Thanks Matt. I look forward to seeing it in the next build!
Brian.
-
I just tried out the new MCC 10072 . It works exactly as I hoped it would. Thanks Matt. :)
Brian.