diff -Nru sonata-1.6.2.1/debian/changelog sonata-1.6.2.1/debian/changelog --- sonata-1.6.2.1/debian/changelog 2011-10-16 21:30:42.000000000 +0000 +++ sonata-1.6.2.1/debian/changelog 2014-01-25 14:29:40.000000000 +0000 @@ -1,3 +1,11 @@ +sonata (1.6.2.1-5.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix "missing crossfade in status breaks sonata (mpd >=0.18)" by + applying the patch provided by Mattia Dongili. (Closes: #728704.) + + -- Stephen Kitt Sat, 25 Jan 2014 15:29:25 +0100 + sonata (1.6.2.1-5) unstable; urgency=low * Fix "Breaks gnome-settings-daemon media-keys plugin" by applying a diff -Nru sonata-1.6.2.1/debian/patches/fix-missing-crossfade.patch sonata-1.6.2.1/debian/patches/fix-missing-crossfade.patch --- sonata-1.6.2.1/debian/patches/fix-missing-crossfade.patch 1970-01-01 00:00:00.000000000 +0000 +++ sonata-1.6.2.1/debian/patches/fix-missing-crossfade.patch 2014-01-25 14:30:42.000000000 +0000 @@ -0,0 +1,24 @@ +Description: Support MPD >= 0.18 which drops crossfade when not enabled +Author: Mattia Dongili +Origin: http://bugs.debian.org/728704 + +--- a/sonata/main.py ++++ b/sonata/main.py +@@ -989,7 +989,7 @@ + self.repeatmenu.set_active(self.status['repeat'] == '1') + if not self.last_random or self.last_random != self.status['random']: + self.randommenu.set_active(self.status['random'] == '1') +- if self.status['xfade'] == '0': ++ if not 'xfade' in self.status or self.status['xfade'] == '0': + self.config.xfade_enabled = False + else: + self.config.xfade_enabled = True +@@ -1001,7 +1001,7 @@ + return + except: + pass +- self.prevconn = self.client ++ self.prevconn = self.conn + self.prevstatus = self.status + self.prevsonginfo = self.songinfo + self.conn = False diff -Nru sonata-1.6.2.1/debian/patches/series sonata-1.6.2.1/debian/patches/series --- sonata-1.6.2.1/debian/patches/series 2011-10-16 21:30:42.000000000 +0000 +++ sonata-1.6.2.1/debian/patches/series 2014-01-25 14:28:27.000000000 +0000 @@ -1,3 +1,4 @@ fix-cras-on-no-albums.patch fix-lyrics-fetching.patch from_upstream__fix-mmkeys.patch +fix-missing-crossfade.patch