mpd-album-art
mpd-album-art copied to clipboard
ImportError: cannot import name 'socket'
Hey, not sure if this is even maintained anymore, but you have some issues with your imports.
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-571e48209bbb> in <module>()
----> 1 import mpd_album_art
/usr/lib/python3.6/site-packages/mpd_album_art.py in <module>()
24
25 from pylast import LastFMNetwork, AlbumSearch
---> 26 from mpd import MPDClient, socket
27
28 import os, sys
ImportError: cannot import name 'socket'
I just modified line 26 to be "from mpd import *" and it imports fine now.
Not sure how many problems this will cause though
Looking a bit closer, looks like the pip version is behind a bit. Your git version seems to be OK.
some minor spelling issues with the pip version.
Thanks for raising the issue! I haven't used mpd for a while now actually, and so haven't maintained this. I might start using it again soon though.
No problem! Thanks for making the code, let me know if I can be of any assistance, don't know a whole lot but I am glad to help.