diff -Nru cinnamon-4.4.8/debian/changelog cinnamon-4.4.8/debian/changelog --- cinnamon-4.4.8/debian/changelog 2020-07-15 01:55:09.000000000 +0000 +++ cinnamon-4.4.8/debian/changelog 2021-02-11 14:15:02.000000000 +0000 @@ -1,3 +1,9 @@ +cinnamon (4.4.8-4ubuntu0.2) focal; urgency=medium + + * Update spotify artwork url (LP: #1901344) + + -- Joshua Peisach Sat, 09 Jan 2021 11:43:54 -0500 + cinnamon (4.4.8-4ubuntu0.1) focal; urgency=medium * Fix Keyboard Shortcuts Updating each time (LP: #1882375) diff -Nru cinnamon-4.4.8/debian/patches/fix-spotify-artwork-url.patch cinnamon-4.4.8/debian/patches/fix-spotify-artwork-url.patch --- cinnamon-4.4.8/debian/patches/fix-spotify-artwork-url.patch 1970-01-01 00:00:00.000000000 +0000 +++ cinnamon-4.4.8/debian/patches/fix-spotify-artwork-url.patch 2021-02-11 14:15:02.000000000 +0000 @@ -0,0 +1,33 @@ +Description: sound@cinnamon.org: Fix spotify artwork url. + sound@cinnamon.org: Fix spotify artwork url. + . + This is the Cinnamon Sound Applet: + . + "The spotify urls don't work, using "i.scdn.co" seems to be the accepted + workaround." +Author: Michael Webster +Origin: upstream, https://github.com/linuxmint/cinnamon/commit/94aef57 +Bug: https://github.com/linuxmint/cinnamon/issues/9394 +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/cinnamon/+bug/1901344 +Forwarded: no +Applied-Upstream: https://github.com/linuxmint/cinnamon/commit/94aef57 +Reviewed-by: Joshua Peisach +Last-Update: 2021-01-09 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: cinnamon-4.4.8/files/usr/share/cinnamon/applets/sound@cinnamon.org/applet.js +=================================================================== +--- cinnamon-4.4.8.orig/files/usr/share/cinnamon/applets/sound@cinnamon.org/applet.js ++++ cinnamon-4.4.8/files/usr/share/cinnamon/applets/sound@cinnamon.org/applet.js +@@ -691,9 +691,8 @@ class Player extends PopupMenu.PopupMenu + let change = false; + if (metadata["mpris:artUrl"]) { + let artUrl = metadata["mpris:artUrl"].unpack(); +- if ( this._name === "spotify" ) { +- artUrl = artUrl.replace("/thumb/", "/300/"); // Spotify 0.9.x +- artUrl = artUrl.replace("/image/", "/300/"); // Spotify 0.27.x ++ if ( this._name.toLowerCase() === "spotify" ) { ++ artUrl = artUrl.replace("open.spotify.com", "i.scdn.co"); + } + if (this._trackCoverFile != artUrl) { + this._trackCoverFile = artUrl; diff -Nru cinnamon-4.4.8/debian/patches/series cinnamon-4.4.8/debian/patches/series --- cinnamon-4.4.8/debian/patches/series 2020-07-15 01:55:09.000000000 +0000 +++ cinnamon-4.4.8/debian/patches/series 2021-02-11 14:15:02.000000000 +0000 @@ -8,3 +8,4 @@ switch-gdbus fix-literals.patch fixKeyboardShortcutUpdate.patch +fix-spotify-artwork-url.patch