Summary: | MPRIS dbus signals are providing incorrect information | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Schelte Bron <bug+kde> |
Component: | general | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | agateau, alex.merry |
Priority: | NOR | ||
Version: | 2.4.0 | ||
Target Milestone: | 2.4.1 | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 2.4.1 | |
Sentry Crash Report: |
Description
Schelte Bron
2011-03-12 11:44:51 UTC
Alex and/or Aurélien, could you have a look at this, please? I can't reproduce any of this (using Amarok git as of Monday 7th March). The status change signals are completely correct - 1-0-0-0 is emitted when pausing, and 0-0-0-0 when playing. Even if I switch to random mode, so that I get 1-1-0-1 and 0-1-0-1, it all still works fine. The caps change is also correct. Can anyone else reproduce this on OpenSUSE, or on other systems? I tell a lie: I can reproduce the issues with the MPRIS2 interface, but not the MPRIS1 interface. Ah, I see, there was a commit on 17th Feb that fixed this for MPRIS1. Git commit becb0debb81b1f1a608806131e51fdd31159b288 by Alex Merry. Committed on 17/03/2011 at 18:56. Pushed by alexmerry into branch 'master'. Fix playback status for MPRIS2 interface Make use of the playbackStatusChanged EngineController signal to find when we should update the playback status property, otherwise we set it too early and get the wrong value. BUG: 268282 FIXED-IN: 2.4.1 M +2 -0 ChangeLog M +1 -5 src/dbus/mpris2/Mpris2DBusHandler.cpp http://commits.kde.org/amarok/becb0debb81b1f1a608806131e51fdd31159b288 The MPRIS1 fix is in 2.4.1beta1, but the MPRIS2 fix won't be there until 2.4.1beta2. Thanks for the quick action. I'll keep an eye out for a new version. For now I'm going to stick with MPRIS1 anyway because the MPRIS2 implementation is missing some other important features, most notably the tracklist related information. |