Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backtrace : no attribute 'create_playlist' with last unofficial google music api #7

Open
matclab opened this issue Oct 2, 2013 · 3 comments

Comments

@matclab
Copy link

matclab commented Oct 2, 2013

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'
@Tyris
Copy link
Owner

Tyris commented Oct 2, 2013

I'll have a look as soon as I'm able. I'm about to head overseas though so might be a little while.

@Tyris
Copy link
Owner

Tyris commented Oct 2, 2013

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.

@matclab
Copy link
Author

matclab commented Oct 3, 2013

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//issues/7#issuecomment-25581653
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants