Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sonata
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
dewke
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2004
Posts: 76
Location: back in the black hole

PostPosted: Tue Nov 26, 2013 3:46 am    Post subject: Sonata Reply with quote

So I'm having a problem with Sonata. MPD updated and Sonata now refuses to connect and gives "No Read Permission". Other mpd clients work fine (mpc, ario gmpc)

Can anyone recommend a fix or should I just abandon Sonata until its updated? Yes I already know the answer.
_________________
Oderint dum metuant
-Caligula
Back to top
View user's profile Send private message
dewke
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2004
Posts: 76
Location: back in the black hole

PostPosted: Tue Nov 26, 2013 3:59 pm    Post subject: Reply with quote

Anyone? I found a bug report through Arch's website with the same issue. I was able to confirm that I could use sonata's cli to issue commands, so it's assuredly a bug.

It's a real shame, I really like Sonata's clean interface. After trying a number of clients I settled on Gimmix as it seems to be the most similar in looks.
_________________
Oderint dum metuant
-Caligula
Back to top
View user's profile Send private message
fae
n00b
n00b


Joined: 27 Jul 2008
Posts: 2

PostPosted: Mon Dec 30, 2013 6:34 pm    Post subject: Reply with quote

Run into the same issue lately - seems it is related to crossfade status reporting changes in mpd-0.18.
Here's the patch:
Code:

diff -Naur sonata_orig/main.py sonata/main.py
--- sonata_orig/main.py   2013-12-30 19:26:14.428737804 +0100
+++ sonata/main.py   2013-12-30 19:26:45.355283857 +0100
@@ -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 self.status.get('xfade', '0') == '0':
                   self.config.xfade_enabled = False
                else:
                   self.config.xfade_enabled = True

Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum