GNOME Bugzilla – Bug 708102
Thumbnail no longer shows up in MPRIS clients
Last modified: 2013-09-16 08:45:47 UTC
We no longer resolve the thumbnail upon querying of files, so we have to update the metadata sent to MPRIS once the thumbnail is available.
Created attachment 254957 [details] [review] player: Add new signal for thumbnail update We no longer resolves the thumbnail path when populating the views, so get_thumbnail() is unusable on all media on first play. This opens a way to tell when the thumbnail becomes available.
Created attachment 254958 [details] [review] albumArtCache: Save thumbnail path as URI
Created attachment 254959 [details] [review] mpris: Send PropertiesChanged signal when thumbnail is updated Resends the metadata when the thumbnail is updated. We could send just the mpris:artUrl key, but some clients ignore metadata that contains only one key (some music players send a dummy value on stop), so send all metadata to be safe.
Review of attachment 254957 [details] [review]: Great job,thanks!
Review of attachment 254958 [details] [review]: Approved
Review of attachment 254959 [details] [review]: Thanks, looks good to me
Comment on attachment 254957 [details] [review] player: Add new signal for thumbnail update Committed as 5b4008cf.
Comment on attachment 254958 [details] [review] albumArtCache: Save thumbnail path as URI Committed as c86ed03f.
Comment on attachment 254959 [details] [review] mpris: Send PropertiesChanged signal when thumbnail is updated Committed as 4fe07564.