Summary: | plasmashell causes media player to skip songs | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | illumilore <illumilore> |
Component: | Media Player | Assignee: | Kai Uwe Broulik <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | e.m.a.t.i.r.o.v, franz.trischberger, kde, matsjoyce, mklapetek, pastas4 |
Priority: | NOR | ||
Version: | 5.1.1 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/plasma-workspace/48e2c38930b820dfe1c5cabaf126012ff1256b1e | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
D-Bus log from bustle if duration of next song is more than current one.
D-Bus log from bustle if duration of next song is less than current one. Possible fix for issue |
Description
illumilore
2014-11-30 20:10:04 UTC
Sounds unlikely. Could you please capture the DBus traffic with bustle and reproduce the issue and upload the file. "Sounds unlikely." When the media thing is running, amarok (when it isn't crashing) skips the songs, and audacious. When it is not running, neither of the programs skips. What else could it be? Where do I find bustle? It isn't in any of the opensuse repos. I haven't observed that with Amarok or VLC. Will try Audacious though. The mediacontroller has an internal Timer that increments the slider ever second since some players are just broken. Maybe that causes it, for some reason, to emit a seek signal. I guess I should check whether the Timer is still needed, given VLC fixed quite a lot of mpris related issues in the upcoming release. The timer is needed to simply move the slider locally iirc, as opposed to polling the dbus every second (as not all players send dbus updates every second). Created attachment 89857 [details]
D-Bus log from bustle if duration of next song is more than current one.
Tried to reproduce.
Looks like there is 2 cases in end of current song:
#1 If duration of next song is more than current one - nothings happens, It's just start playing next song as it should be.
#2 If duration of next song is more than current one - it skips to end of next song.
Attached dbus log from busstle for case #1.
Created attachment 89858 [details]
D-Bus log from bustle if duration of next song is less than current one.
Git commit 48e2c38930b820dfe1c5cabaf126012ff1256b1e by Kai Uwe Broulik. Committed on 07/12/2014 at 17:12. Pushed by broulik into branch 'master'. Delay seeking over mpris This avoids race conditions between mpris telling us that the position changed, our internal Timer and the slider M +13 -4 applets/mediacontroller/contents/ui/ExpandedRepresentation.qml http://commits.kde.org/plasma-workspace/48e2c38930b820dfe1c5cabaf126012ff1256b1e I just updated to Plasma 5 Workspace 5.2.1, and the issue still persists. When the Media Controller is enabled, every few music tracks (using Amarok with Phonon-GStreamer) one track is skipped, or starts playing from the middle, or gets stuck altogether. Disabling the Media Controller makes these problems go away. This might also be caused by buggy implementation of the mpris service. I have similar issues with mpDris2: https://github.com/eonpatapon/mpDris2/issues/63 As soon as I switch to cantata the problems go away. This is still not fixed in Plasma 5.3.2! Still not fixed in Plasma 5.4. Created attachment 99495 [details]
Possible fix for issue
Still not fixed in 5.6.4 BTW. |