summaryrefslogtreecommitdiff
path: root/extra/sonata/mpd-0.18.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-11-03 01:06:08 -0700
committerroot <root@rshg054.dnsready.net>2013-11-03 01:06:08 -0700
commit1ce58386c5ee7086ac6848f35cade5d45bf86764 (patch)
treea02b709cc5107313c2a640ad192b4a4cb790df4f /extra/sonata/mpd-0.18.patch
parent02c5897cefdb4df89590f03c12870ad263240ebd (diff)
Sun Nov 3 01:05:44 PDT 2013
Diffstat (limited to 'extra/sonata/mpd-0.18.patch')
-rw-r--r--extra/sonata/mpd-0.18.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/extra/sonata/mpd-0.18.patch b/extra/sonata/mpd-0.18.patch
new file mode 100644
index 000000000..681fb1665
--- /dev/null
+++ b/extra/sonata/mpd-0.18.patch
@@ -0,0 +1,25 @@
+diff -aur sonata-1.6.2.1/sonata/main.py sonata-1.6.2.1.new/sonata/main.py
+--- sonata-1.6.2.1/sonata/main.py 2009-09-22 01:02:16.000000000 +0400
++++ sonata-1.6.2.1.new/sonata/main.py 2013-11-01 15:59:08.919054767 +0400
+@@ -989,13 +989,14 @@
+ 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':
+- self.config.xfade_enabled = False
+- else:
+- self.config.xfade_enabled = True
+- self.config.xfade = int(self.status['xfade'])
+- if self.config.xfade > 30:
+- self.config.xfade = 30
++ #if self.status['xfade'] == '0':
++ # self.config.xfade_enabled = False
++ #else:
++ # self.config.xfade_enabled = True
++ # self.config.xfade = int(self.status['xfade'])
++ # if self.config.xfade > 30:
++ # self.config.xfade = 30
++ self.config.xfade_enabled = False
+ self.last_repeat = self.status['repeat']
+ self.last_random = self.status['random']
+ return