tags 728704 + pending thanks Dear maintainer,
I've prepared an NMU for sonata (versioned as 1.6.2.1-5.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Regards.
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 23:30:42.000000000 +0200 +++ sonata-1.6.2.1/debian/changelog 2014-01-25 15:29:40.000000000 +0100 @@ -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 <sk...@debian.org> 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 01:00:00.000000000 +0100 +++ sonata-1.6.2.1/debian/patches/fix-missing-crossfade.patch 2014-01-25 15:30:42.000000000 +0100 @@ -0,0 +1,24 @@ +Description: Support MPD >= 0.18 which drops crossfade when not enabled +Author: Mattia Dongili <malat...@debian.org> +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 23:30:42.000000000 +0200 +++ sonata-1.6.2.1/debian/patches/series 2014-01-25 15:28:27.000000000 +0100 @@ -1,3 +1,4 @@ fix-cras-on-no-albums.patch fix-lyrics-fetching.patch from_upstream__fix-mmkeys.patch +fix-missing-crossfade.patch