lastfmsubmitd
lastfmsubmitd copied to clipboard
lastmp crash trying to fetch status.xfade
My instance of lastmp crashes with the following error:
ERROR: Aborting: Traceback (most recent call last):
File "/usr/bin/lastmp", line 237, in <module>
daemon(cli)
File "/usr/bin/lastmp", line 196, in daemon
mo.observe()
File "/usr/bin/lastmp", line 153, in observe
self.wake()
File "/usr/bin/lastmp", line 95, in wake
FUZZ + int(status.xfade)) or \
File "/usr/lib/pymodules/python2.7/mpdclient2.py", line 271, in __getattr__
raise AttributeError
AttributeError
This seems be averted by setting MPD's crossfade to something different than zero seconds and restarting lastmp.
Reading the docs, it seems that libmpdclient2 is obsolete and the cool new thing is python-mpd at https://pypi.python.org/pypi/python-mpd/