INTERACT FORUM
More => Old Versions => JRiver Media Center 25 for Linux => Topic started by: beetmonger on March 25, 2019, 06:07:57 am
-
I'm new to MC and trying to troubleshoot why the multimedia keys (play/pause, ff, rew) aren't recognized. I'm running Manjaro Gnome and the keys work fine with other players like Lollypop, so it's something specific to Mediacenter.
I've tried toggling the "Media Key Mode" setting from automatic to disabled but it doesn't appear to have any effect.
Edit: my keyboard is a logitech g710+
-
I'm new to MC and trying to troubleshoot why the multimedia keys (play/pause, ff, rew) aren't recognized. I'm running Manjaro Gnome and the keys work fine with other players like Lollypop, so it's something specific to Mediacenter.
I've tried toggling the "Media Key Mode" setting from automatic to disabled but it doesn't appear to have any effect.
Edit: my keyboard is a logitech g710+
MC intercepts the media keys at a very low level. It's possible that your Manjaro Gnome is grabbing these and not letting them through.
There are some references to this in the MC24 forum IIRC.
-
Yep, I've noted that in MC24 as have others. It's a function that's sorely missed for us Linux users and I believe we will need MPRIS1/2 added to MC25 before we can have this basic capability. Another thought might be to add code to MC25 that allows us to map our keyboard media keys from within MC25 much like Gnome let us map keys? I'm not a programmer, so I leave it to the development team to figure this all out -- hopefully sooner, than later. :)
-
MC intercepts the media keys at a very low level. It's possible that your Manjaro Gnome is grabbing these and not letting them through.
There are some references to this in the MC24 forum IIRC.
Oops, thought I'd searched thoroughly but found a couple of mentions there. Sorry about that.
Yep, I've noted that in MC24 as have others. It's a function that's sorely missed for us Linux users and I believe we will need MPRIS1/2 added to MC25 before we can have this basic capability. Another thought might be to add code to MC25 that allows us to map our keyboard media keys from within MC25 much like Gnome let us map keys? I'm not a programmer, so I leave it to the development team to figure this all out -- hopefully sooner, than later. :)
I'm a Linux newb so I'm not in a position to do more than pin my hopes on the dev team, as well!
-
Here are some links about Linux / Manjaro / Gnome keyboard mapping:
https://www.reddit.com/r/linux/comments/ab7avu/alternative_to_autohotkey_on_linux/
https://beginners-manjaro-linux-guide-1516.fandom.com/wiki/Shortcuts
https://help.gnome.org/users/gnome-help/stable/keyboard-shortcuts-set.html.en
Actually, I spent some time during last weekend about this topic but only for Windows & Mac though.
However, you could get some inspiration from the calls to MC I used (via the Web Service or Command Line).
https://yabb.jriver.com/interact/index.php/topic,119955.msg829510.html
https://yabb.jriver.com/interact/index.php/topic,120008.msg829509.html
Good luck!
-
I wrote a command line tool in Python that can send JRiver MCWS commands (local web server) so I can have hot keys to set ratings for songs play pause etc.
This supports MCC* commands, which don't work from the command line as in windows.
* https://wiki.jriver.com/index.php/Media_Center_Core_Commands
If there's interest, I can share it.
-
I wrote a command line tool in Python that can send JRiver MCWS commands (local web server) so I can have hot keys to set ratings for songs play pause etc.
This supports MCC* commands, which don't work from the command line as in windows.
* https://wiki.jriver.com/index.php/Media_Center_Core_Commands
If there's interest, I can share it.
I'd be interested.
-
I'd be interested.
I'll update the code documentation and post it sometime this week.
-
I'd be interested.
Sorry this took me longer to get to than I thought it would, I hadn't looked at the code in a while and it was kind of a mess.
Here's a rough version
https://github.com/mikeza/jrivermcws
Let me know if you need help.
-
https://github.com/mikeza/jrivermcws
Thanks for this. I was able to setup KDE to trigger jriverctl commands via my multimedia keys. Now I don't have to use the slow interface as much. ;D