INTERACT FORUM

More => Old Versions => JRiver Media Center 21 for Linux => Topic started by: Rizlaw on April 13, 2016, 02:45:25 pm

Title: Transport controls in Ubuntu Launcher Icon?
Post by: Rizlaw on April 13, 2016, 02:45:25 pm
The MC21 icon present in the Ubuntu 14.04LTS Launcher panel contains the right click capability to "install license" but no options for "Play, Pause, Stop, etc". I'm no programmer, but other Linux players in Ubuntu have these controls when their icon is right clicked (Guayadeque, Quod Libet to name two). Is it that difficult to add this feature to the .desktop file for MC21?
Title: Re: Transport controls in Ubuntu Launcher Icon?
Post by: Awesome Donkey on April 13, 2016, 03:05:57 pm
I've looked into it some and experimented but as far I can tell it doesn't currently work and isn't supported.
Title: Re: Transport controls in Ubuntu Launcher Icon?
Post by: Rizlaw on April 13, 2016, 04:52:35 pm
I've looked into it some and experimented but as far I can tell it doesn't currently work and isn't supported.

Do you mean "isn't supported" by MC21 or by Ubuntu Linux? I'm not trying to be argumentative here, but it certainly is very well supported by the two media players I mentioned.

The problem with MC21 is that once MC21 focus is lost (i.e., you are in another program on another or the same monitor) there is no way to control MC21 from the other monitor or application. I've even tried a Logitech keyboard with dedicated media keys that work well in Ubuntu (any version) and it won't work with MC21. I have posted about that and followed Jim's suggestion. The Logitech keyboard media keys work with every other Linux media player I have installed (currently five others). It's very frustrating not to be able to control MC21's transport controls outside of MC21 and just to be fair, MC21 is not alone in this problem; Signalyst's HQ Player also has the same problem. 
Title: Re: Transport controls in Ubuntu Launcher Icon?
Post by: Awesome Donkey on April 13, 2016, 05:34:20 pm
The former, it's not supported by MC yet. I'm not surprised by the media keys not working yet either (I swear this has been mentioned/discussed before).

Anyways, I thought I made a request for more Unity launcher integration some months back, but I can't find any posts about it so I guess I didn't, heh. I could post a new request for Ubuntu's Unity/GNOME 3.20 integrated media controls using the MPRIS standard (https://specifications.freedesktop.org/mpris-spec/latest/) but I'm not sure if it's getting too late for requests in the MC 21 release cycle or if I should wait until later in the Summer when MC 22 development begins.

MPRIS *should* be enough to where I should be able to hack some play/pause, stop, previous and next desktop actions within the .desktop file which should work for Unity, GNOME, Cinnamon, MATE, etc.

EDIT: Added a new request here (http://yabb.jriver.com/interact/index.php?topic=104357.0). Feel free to add comments, +1's, etc. there. :)
Title: Re: Transport controls in Ubuntu Launcher Icon?
Post by: bob on April 13, 2016, 09:10:07 pm
MC (by design) will not respond when it doesn't have focus. This is so it won't grab focus when an event happens (like a audio format is unsupported or a track changes).