Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#35282 - [Cinnamon] Sound applet does not display metadata due to incorrect (?) GJS Gio DBUS implementation
Attached to Project:
Community Packages
Opened by Bas Dalenoord (bdalenoord) - Tuesday, 14 May 2013, 19:15 GMT
Last edited by Balló György (City-busz) - Wednesday, 14 August 2013, 22:47 GMT
Opened by Bas Dalenoord (bdalenoord) - Tuesday, 14 May 2013, 19:15 GMT
Last edited by Balló György (City-busz) - Wednesday, 14 August 2013, 22:47 GMT
|
DetailsDescription:
When using Spotify (or any other DBUS-enabled player) under Cinnamon 1.8.2 the sound applet does not display metadata such as album-art or artist information. The controls work as they should. Research has learned that the following has been changed since my update to Cinnamon 1.8.2; - GJS is updated to 1.36.1-1. With this new version, they've deprecated the old standalone DBus wrappers that are being used in the upstream applet code, as mentioned here: https://mail.gnome.org/archives/commits-list/2013-January/msg00233.html Arch maintainers have changed the packaged applet to work with the new Gio GDBus implementation the GJS developers have introduced. - The sound-applet is partially rewritten to work with the new Gio GDBus implementation. The problem seems to be related to a possibly incorrect implementation of this new standard. Additional info: - Cinnamon 1.8.2 - GJS 1.36.1-1 - Spotify 0.9.0.133 Steps to reproduce: |
This task depends upon
Closed by Balló György (City-busz)
Wednesday, 14 August 2013, 22:47 GMT
Reason for closing: Upstream
Additional comments about closing: MPRIS support is disabled in cinnamon 1.8.8-3, the sound applet should work properly now, except the media players integration. Upstream report: https://github.com/linuxmint/Cinnamon/is sues/1962
Wednesday, 14 August 2013, 22:47 GMT
Reason for closing: Upstream
Additional comments about closing: MPRIS support is disabled in cinnamon 1.8.8-3, the sound applet should work properly now, except the media players integration. Upstream report: https://github.com/linuxmint/Cinnamon/is sues/1962
I found an error in cinnamon log which is related to the problem:
(cinnamon:2109): GLib-GIO-WARNING **: Dropping signal PropertiesChanged of type (sa{sv}as) since the type from the expected interface is (a{sv})
PropertiesChanged is the signal raised by the player when the song changed (for example).
As far as I see in d-feet & dbus-monitor, everything is OK on the player side (DBUS MPRIS methods are working when called manually, and the PropertiesChanged signal contains everything the applet needs) so the problem is probably on the applet side.
Here is what I see in dbus-monitor when the signal is raised:
-------------------------------
signal sender=:1.53 -> dest=(null destination) serial=178 path=/org/mpris/MediaPlayer2; interface=org.freedesktop.DBus.Properties; member=PropertiesChanged
string "org.mpris.MediaPlayer2.Player"
array [
dict entry(
string "Metadata"
variant array [
dict entry(
string "mpris:trackid"
variant string "/org/mpris/MediaPlayer2/Track/2000"
)
dict entry(
string "xesam:url"
variant string "file:///home/abazigal/Musique/The%20Cranberries/Promises.mp3"
)
dict entry(
string "xesam:title"
variant string "Promises"
)
dict entry(
string "xesam:artist"
variant array [
string "The Cranberries"
]
)
dict entry(
string "xesam:album"
variant string "Stars: The Best of 1992-2002"
)
dict entry(
string "xesam:genre"
variant array [
string "Alternative & Punk"
]
)
dict entry(
string "xesam:comment"
variant array [
string "00003AA0 00000FCC 00016A67 0000AC7C 000118EB 00010D7D 00008B79 00008A28 0000F73E 00004A49"
]
)
dict entry(
string "xesam:albumArtist"
variant array [
string "The Cranberries"
]
)
dict entry(
string "xesam:musicBrainzTrackID"
variant array [
string "5d3388d2-39f7-4c95-8d8d-1232c3816784"
]
)
dict entry(
string "xesam:musicBrainzAlbumID"
variant array [
string "7bc890af-a4a0-4af1-b866-c969852f5353"
]
)
dict entry(
string "xesam:musicBrainzArtistID"
variant array [
string "c98d40fd-f6cf-4b26-883e-eaa515ee2851"
]
)
dict entry(
string "xesam:musicBrainzAlbumArtistID"
variant array [
string "c98d40fd-f6cf-4b26-883e-eaa515ee2851"
]
)
dict entry(
string "rhythmbox:artistSortname"
variant string "Cranberries, The"
)
dict entry(
string "xesam:audioBitrate"
variant int32 162816
)
dict entry(
string "mpris:length"
variant int64 212000000
)
dict entry(
string "xesam:trackNumber"
variant int32 11
)
dict entry(
string "xesam:discNumber"
variant int32 1
)
dict entry(
string "xesam:useCount"
variant int32 0
)
dict entry(
string "xesam:userRating"
variant double 0
)
dict entry(
string "mpris:artUrl"
variant string "file:///home/abazigal/.cache/rhythmbox/album-art/000001ca"
)
]
)
]
array [
]
-------------------------------
We applied the same patch in Arch.