diff -Nru cinnamon-screensaver-4.4.1/debian/changelog cinnamon-screensaver-4.4.1/debian/changelog --- cinnamon-screensaver-4.4.1/debian/changelog 2020-02-10 08:45:42.000000000 -0500 +++ cinnamon-screensaver-4.4.1/debian/changelog 2020-10-24 16:05:06.000000000 -0400 @@ -1,3 +1,9 @@ +cinnamon-screensaver (4.4.1-3ubuntu0.1) focal; urgency=medium + + * album art: Adjust the album art url for Spotify. (LP: #1901344) + + -- Joshua Peisach Sat, 26 Oct 2020 18:19:16 -0500 + cinnamon-screensaver (4.4.1-3) unstable; urgency=medium [ Fabio Fantoni ] diff -Nru cinnamon-screensaver-4.4.1/debian/control cinnamon-screensaver-4.4.1/debian/control --- cinnamon-screensaver-4.4.1/debian/control 2020-02-10 08:45:42.000000000 -0500 +++ cinnamon-screensaver-4.4.1/debian/control 2020-10-24 16:05:06.000000000 -0400 @@ -1,7 +1,8 @@ Source: cinnamon-screensaver Section: x11 Priority: optional -Maintainer: Debian Cinnamon Team +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Cinnamon Team Uploaders: Maximiliano Curia , Margarita Manterola , diff -Nru cinnamon-screensaver-4.4.1/debian/patches/series cinnamon-screensaver-4.4.1/debian/patches/series --- cinnamon-screensaver-4.4.1/debian/patches/series 2020-02-10 08:45:42.000000000 -0500 +++ cinnamon-screensaver-4.4.1/debian/patches/series 2020-10-24 15:53:08.000000000 -0400 @@ -1 +1,2 @@ change-iso-flag-path.patch +update-spotify-album-art-url.patch diff -Nru cinnamon-screensaver-4.4.1/debian/patches/update-spotify-album-art-url.patch cinnamon-screensaver-4.4.1/debian/patches/update-spotify-album-art-url.patch --- cinnamon-screensaver-4.4.1/debian/patches/update-spotify-album-art-url.patch 1969-12-31 19:00:00.000000000 -0500 +++ cinnamon-screensaver-4.4.1/debian/patches/update-spotify-album-art-url.patch 2020-10-24 16:02:05.000000000 -0400 @@ -0,0 +1,55 @@ +Description: album art: Adjust the album art url for spotify. + This is a follow-up patch to fix the other issue in the + Cinnamon sound applet. This fixes the screensaver album icon + for the Spotify Album link along with correcting the URL. +Author: Michael Webster +Origin: upstream, https://github.com/linuxmint/cinnamon-screensaver/commit/7913bc +Bug: https://github.com/linuxmint/cinnamon/issues/9394 +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/cinnamon-screensaver/+bug/1901344 +Forwarded: no +Applied-Upstream: https://github.com/linuxmint/cinnamon-screensaver/commit/7913bc +Reviewed-by: Joshua Peisach +Last-Update: 2020-10-24 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: cinnamon-screensaver-4.4.1/src/albumArt.py +=================================================================== +--- cinnamon-screensaver-4.4.1.orig/src/albumArt.py ++++ cinnamon-screensaver-4.4.1/src/albumArt.py +@@ -61,6 +61,9 @@ class AlbumArt(Floating, BaseWindow): + def update_image(self): + url = self.player.get_albumart_url() + ++ if self.player.get_identity() == "spotify": ++ url = url.replace("open.spotify.com", "i.scdn.co"); ++ + if url == self.current_url: + return + +Index: cinnamon-screensaver-4.4.1/src/dbusdepot/mediaPlayerWatcher.py +=================================================================== +--- cinnamon-screensaver-4.4.1.orig/src/dbusdepot/mediaPlayerWatcher.py ++++ cinnamon-screensaver-4.4.1/src/dbusdepot/mediaPlayerWatcher.py +@@ -31,6 +31,7 @@ class MprisClient(BaseClient): + name, + path) + ++ self.identity = None + self.metadata = None + self.album_name = "" + self.track_name = "" +@@ -48,6 +49,14 @@ class MprisClient(BaseClient): + + self.ensure_metadata() + ++ # This isn't the app-provided MediaPlayer.Identity, but we'd need to ++ # set up another proxy and it's not really necessary for what this is ++ # used for. ++ self.identity = self.proxy.get_name().rpartition(".")[2] ++ ++ def get_identity(self): ++ return self.identity ++ + def get_playback_status(self): + status = PlaybackStatus.Unknown +