Bug 361367 - Multimedia control bad working
Summary: Multimedia control bad working
Status: RESOLVED FIXED
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-04 04:03 UTC by varlesh
Modified: 2016-04-08 18:54 UTC (History)
0 users

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 varlesh 2016-04-04 04:03:21 UTC
After last upgrade to Plasma 5.6 or Qt 5.6 - Media control bad working (almost not working). Android-client not show working players on KDE (tested with Bomi and Clementine). If disable/enable WiFi (or stop process) on Android device - Media-control working, BUT if run another player player - client not show new opened player.
Antergos x86_64
kdeconnect 0.9.g-1
plasma 5.6
kdeconnect-android 0.9g

Tested on two devices:
Innos D9 Android 4.1.2
Lenovo A516 Android 4.2.2

I downgrade package on PC (tested with 0.9) and install old APK's on Android - problem not solved!
Other modules (send files, remote input, notification and etc...) working fine.
Before upgrade Plasma 5.6 or Qt 5.6 all working fine, and Multimedia control too.

Reproducible: Always

Steps to Reproduce:
1.Start and play Clementine - Android show "No players found".
2.Disable/enable WiFi (or stop process) on Android - Clementine showing and i must control it. 
3.Disable/enable WiFi (or stop process) on Android - Clementine showing and i must control it. 
4.If exit on Clementine and start play Bomi - Android show clementine (BUT CLEMENTINE CLOSED!) and not showing Bomi control.
Comment 1 David Kahles 2016-04-08 09:39:46 UTC
Git commit 337dd191e459011faae2f1b8a27a5760ad996e70 by David Kahles.
Committed on 07/04/2016 at 23:22.
Pushed by davidk into branch 'master'.

Fix mpris player discovery

The previous used QDbusServiceWatcher doesn't work as it does only watch out
for specific services, but the players use different, unpredictable names, so
we need to check all service registrations for mpris players.
REVIEW: 127611

M  +15   -11   plugins/mpriscontrol/mpriscontrolplugin.cpp
M  +1    -3    plugins/mpriscontrol/mpriscontrolplugin.h

http://commits.kde.org/kdeconnect-kde/337dd191e459011faae2f1b8a27a5760ad996e70
Comment 2 varlesh 2016-04-08 18:54:10 UTC
Thx, very fast. Working fine :)