EnigmaCurry / GMusicFS

A FUSE filesystem for Google Music
153 stars 36 forks source link

Changed API of gmusicapi? #44

Open mschlenker opened 7 years ago

mschlenker commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

Neither version works.

plumps commented 7 years ago

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)