You are not logged in.
Pages: 1
I'm a newbie to python and having some problems getting the following script to work correctly:
http://github.com/magcius/mpdsetup/tree/master (the mpdnotify.py together with the config file)
I'v encountered numerous error messages but I've managed to work out most of them myself.
However, I'm stuck at the following one:
Traceback (most recent call last):
File "/home/user/.bin/mpdnotify.py", line 221, in <module>
daemon()
File "/home/uesr/.bin/mpdnotify.py", line 173, in daemon
reasons = client.idle()
File "/usr/lib/python2.6/site-packages/mpd.py", line 130, in __getattr__
(self.__class__.__name__, attr))
AttributeError: 'MPDClient' object has no attribute 'idle'
Any help appreciated.
Offline
What makes you think that there is an idle() command?
Offline
What makes you think that there is an idle() command?
I was a bit unclear i guess. I'm actually not the authour of this script. I'm just
trying to get it to work on my computer (and learn a few things in the progress).
I found the script at http://mpd.wikia.com/wiki/Hacks
Offline
You need to update your mpc to 0.16.x (I think)
But using python to call mpc to communicate with a mpd server is doing it kind of ass backwards if you ask me.
Offline
You need to update your mpc to 0.16.x (I think)
But using python to call mpc to communicate with a mpd server is doing it kind of ass backwards if you ask me.
Thank you, that could definitely be it.
And yeah, I realize the hack is probably quite ugly but I've been looking quite a bit for a way to get mpd notifications
without sonata running. The other scripts I've found have been either uglier (as far as I can tell at least).
Offline
Pages: 1