Skip to content
This repository has been archived by the owner on Apr 16, 2019. It is now read-only.

Changed API of gmusicapi? #44

Open
mschlenker opened this issue Sep 17, 2016 · 3 comments
Open

Changed API of gmusicapi? #44

mschlenker opened this issue Sep 17, 2016 · 3 comments

Comments

@mschlenker
Copy link

INFO:gmusicfs:Logging in...
Traceback (most recent call last):
File "/usr/local/bin/gmusicfs", line 9, in
load_entry_point('GMusicFS==0.1', 'console_scripts', 'gmusicfs')()
File "/usr/local/lib/python2.7/dist-packages/gmusicfs/gmusicfs.py", line 476, in main
fs = GMusicFS(mountpoint, true_file_size=args.true_file_size, verbose=verbosity, scan_library= not args.nolibrary)
File "/usr/local/lib/python2.7/dist-packages/gmusicfs/gmusicfs.py", line 240, in init
true_file_size=true_file_size, verbose=verbose, scan=scan_library)
File "/usr/local/lib/python2.7/dist-packages/gmusicfs/gmusicfs.py", line 132, in init
self.__login_and_setup(username, password)
File "/usr/local/lib/python2.7/dist-packages/gmusicfs/gmusicfs.py", line 176, in __login_and_setup
self.api.login(username, password)
TypeError: login() takes at least 4 arguments (3 given)

@Thaelz
Copy link

Thaelz commented Sep 21, 2016

I got the same error with thunner, that I tried few days ago; if I remember well, the gmusicapi (concerning Webclient) had been modified but the project GMusicFS had no new commits for years, so I recommend you to check a forked one like this one: https://github.com/benklop/GMusicFS

@KenSharp
Copy link

KenSharp commented Jan 3, 2017

Neither version works.

@plumps
Copy link

plumps commented Mar 6, 2017

deviceId is missing in the class. It's not GMusicAPI's fault, but GmusicFS'. To fix it, add deviceId to self.api.login in gmusicfs.py:176 like so
self.api.login(username, password, deviceId)

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

No branches or pull requests

4 participants