Bug 352529 - Beta version - Multimedia control doesn't wok
Summary: Beta version - Multimedia control doesn't wok
Status: RESOLVED FIXED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-10 17:28 UTC by Valerio De Angelis
Modified: 2016-04-22 19:01 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Valerio De Angelis 2015-09-10 17:28:50 UTC
Nexus 5 with the beta version, pc with F22 plasma 5.4 (kdeconnect 0.8)

No matter if I open vlc or amarok, the multimedia control feature doesn't work. It says "not player found" or something.

Note: send a ping works.

Reproducible: Always

Steps to Reproduce:
1. open a player in the desktop, such as vlc or amarok
2. on the phone, no player is found
3. it is not possible to manage the player

Actual Results:  
No player found, the player is not manageable through the phone

Expected Results:  
the desktop player should be manageable through the phone
Comment 1 Valerio De Angelis 2015-09-10 18:57:16 UTC
After the upgrade (5 minutes ago) the VLC control works, but not yet for amarok. It is not present in the player list.
Comment 2 Albert Vaca Cintora 2015-09-11 09:25:42 UTC
Actually it is broken: it only detects players that were already running when kdeconnect was started, but not after. Thanks for the report! Wroking on a fix.
Comment 3 David Edmundson 2015-09-11 09:28:11 UTC
Git commit d621000621df10d8c143ec509a18efd1f25af4d7 by David Edmundson.
Committed on 11/09/2015 at 09:27.
Pushed by davidedmundson into branch 'stable'.

Watch all serivies with the watcher

media player services are not registered as org.mpris.MediaPlayer2 just
use a service name that starts with that. We need to watch all services
and then filter.
Reviewed-by: Albert Vaca

M  +18   -6    plugins/mpriscontrol/mpriscontrolplugin.cpp
M  +3    -0    plugins/mpriscontrol/mpriscontrolplugin.h

http://commits.kde.org/kdeconnect-kde/d621000621df10d8c143ec509a18efd1f25af4d7
Comment 4 Christos 2016-04-22 19:01:49 UTC
@AlbertVaca is right, but if you already have vlc open playing something and close it then anything you open again with vlc works.