Bug 500484 - Wrong DBus parameter "CanPlay" when playing
Summary: Wrong DBus parameter "CanPlay" when playing
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: plasmamobile-application (other bugs)
Version First Reported In: 24.12.0
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Nicolas Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-20 20:53 UTC by xaxaxa.kdebug
Modified: 2025-08-19 16:10 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xaxaxa.kdebug 2025-02-20 20:53:11 UTC
SUMMARY
When hitting "play", the DBus parameter "CanPlay" (org.mpris.MediaPlayer2.Player) becomes "false". This behavior closes Phoshs integrated media player while media on other devices are playing. This parameter should stay "true".

STEPS TO REPRODUCE
1. Using Phosh on one device.
2. Pairing to another device that can play media.
3. Hitting play on Phoshs integrated media player.

OBSERVED RESULT
Phoshs integrated media player disappears (or play/pause-button is getting disabled on older Phosh versions). This happened because the "CanPlay" parameter is changed to "false" after hitting the play button. When pause media on the other device (with any way), the media player appears (or play/pause-button becomes enabled) and the "CanPlay" parameter is changed back to "true".

EXPECTED RESULT
Phoshs integrated media player should be still visible and play/pause-button should be usable. The "CanPlay" DBus Parameter should stay "true" when hitting play/pause.

SOFTWARE/OS VERSIONS
Linux Debian Trixie
Phosh nightly (0.45+nb)

ADDITIONAL INFORMATION
This bug exists probably in all versions. I previously spoke with the Phosh team and investigated this bug with their help.
Comment 1 Nicolas Fella 2025-02-20 21:04:35 UTC
What software is the other device running? Linux, Android, ..?
Comment 2 xaxaxa.kdebug 2025-08-19 16:10:37 UTC
Sorry for that late response. Your message did not reach me somehow. Back this time I was using Win10 and I think it still is an issue (I just cannot test it anymore). Between Mobian, Debian and PureOS (older version of kdeconnect) there is no such issue.