Bug 412586

Summary: KDEconnect media control
Product: [Applications] kaffeine Reporter: Justin <kdebugs.cmrck>
Component: generalAssignee: Mauro Carvalho Chehab <mchehab>
Status: CONFIRMED ---    
Severity: normal CC: daniel-other+kdebug
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Justin 2019-10-04 02:38:32 UTC
SUMMARY
No KDEconnect media control.
As Kaffeine is a media player it would be great to have KDEConnect have play control.

STEPS TO REPRODUCE
1. Open Kaffeine, open KDEConnect
2. Open Multimedia control
3. No option for Kaffeine control

OBSERVED RESULT
Open Kaffeine, open KDEConnect

EXPECTED RESULT
Playback control

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 19.04
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2
Kernel Version: 5.0.0-29-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-6700 CPU @ 3.40GHz
Memory: 31.3 GiB of RAM
 

ADDITIONAL INFORMATION
Comment 1 Daniel 2020-02-17 20:24:29 UTC
I think KDEconnect uses MPRIS for that. Kaffeine should support MRPIS.

It successfully registers as a player and provides the necessary dbus endpoints, but not under the neccessary names:

> Each media player must request a unique bus name which begins with org.mpris.MediaPlayer2.

But kaffeine exposes them as for example

qdbus org.mpris.kaffeine /Player org.freedesktop.MediaPlayer.Pause