m3uGoogleMusicSync
m3uGoogleMusicSync copied to clipboard
Backtrace : no attribute 'create_playlist' with last unofficial google music api
Trying to add a playlist with :
ms.sync_playlist("/var/lib/mpd/playlists/s13.m3u")
and the today head of the git repo for unofficial google music api, I get the following backtrace :
Traceback (most recent call last):
File "example.py", line 7, in <module>
ms.sync_playlist("/var/lib/mpd/playlists/s13.m3u")
File "/home/clabaut/contrib/m3uGoogleMusicSync/musicsync.py", line 101, in sync_playlist
self.playlists['user'][title] = [self.wc.create_playlist(title)]
AttributeError: 'Webclient' object has no attribute 'create_playlist'
I'll have a look as soon as I'm able. I'm about to head overseas though so might be a little while.
Did you try using gmusicapi==2013.02.27 (from the requirements.txt: pip install -r requirements.txt) I don't know if that version of gmusicapi still works (Google change their end quite a lot and gmusicapi gets updated to reflect that often) but its worth a try. Once I get some time I'll migrate the library over to gmusicapi's new MobileClient.
In fact I tried with an old version of gmusicapi (but I didn't note exactly which one) and get a lot of exceptions. So I updated to the last one (which worked well with gmusicproxy application).
I'll see if I can manage some time to work out a patch for using Mobileclient.
2013/10/3 Tom Graham [email protected]
Did you try using gmusicapi==2013.02.27 (from the requirements.txt: pip install -r requirements.txt) I don't know if that version of gmusicapi still works (Google change their end quite a lot and gmusicapi gets updated to reflect that often) but its worth a try. Once I get some time I'll migrate the library over to gmusicapi's new MobileClient.
— Reply to this email directly or view it on GitHubhttps://github.com/Tyris/m3uGoogleMusicSync/issues/7#issuecomment-25581653 .