Bug 498619 - Video playback on mpv + mpv-mpris stops occasionally on pause
Summary: Video playback on mpv + mpv-mpris stops occasionally on pause
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-13 18:19 UTC by Bogomil Vasilev
Modified: 2025-01-31 10:13 UTC (History)
1 user (show)

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 Bogomil Vasilev 2025-01-13 18:19:36 UTC
SUMMARY
I'm using "mpv-mpris" to make sure I can integrate nicely with Plasma, especially "kdeconnect", so I can use my smartphone when watching movies. When pausing "mpv" (no matter where the pause came from), eventually mpv stops the video and exits without a crash, just clean and unexpected exit. Eventually, I figured out it's got something to do with mpris and kdeconnect. Uninstalling mpv-mpris prevents mpv from stopping, but I lose the integration. I decided to give mpv-mpris2 a try (another integration, totally different implementation), but I experienced the same problem.
I found this reddit topic, mentioning the same problem:
https://www.reddit.com/r/mpv/comments/15st1ze/mpv_closes_automatically_after_being_paused_for_a/

STEPS TO REPRODUCE
1. Install mpv, mpv-mpris & kdeconnect
2. Play a video
3. Pause the video

OBSERVED RESULT
At some point, the video stops and mpv exists normally, it's as if something sent a stop event. The stop event may happen immediately or later at some point (seconds/minutes).

EXPECTED RESULT
Pause the video and stay paused.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.2.5 
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1

ADDITIONAL INFORMATION
Comment 1 Bogomil Vasilev 2025-01-31 10:13:19 UTC
Using VLC I get the same problem. VLC doesn't have a separate plugin (as a package) that implements MPRIS support - I believe it's builtin. However, kdeconnect stops VLC the same way it stops MPV. This means that the problem is strictly withing kdeconnect and it's MPRIS handling.