hechtus / squeezebox-googlemusic

Squeezebox (Logitech Media Server) Plugin for Google Play Music
103 stars 24 forks source link

get_station_tracks() takes at most 3 arguments (4 given) #62

Closed ghost closed 9 years ago

ghost commented 9 years ago

Hi.

I am having problems getting the all access radio to play.

I am getting the following error in the squeezebox server.log

"Plugins::GoogleMusic::Radio::fetchStationTracks (436) Not able to get tracks for station 9f16740a-bcd7-317e-ba13-6cba645b59d5: exceptions.TypeError: get_station_tracks() takes at most 3 arguments (4 given) at (eval 958) line 170."

I've updated LMS, googlemusic plugin and latest dev version of gmusicapi. Looking in /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/GoogleMusic/Radio.pm I can only see 2 or 3 arguments being supplied.

Can you advise what that cause of this error could be?

Many thanks

Martin

hechtus commented 9 years ago

Please try to run

pip install git+https://github.com/simon-weber/Unofficial-Google-Music-API.git@develop
benumc commented 9 years ago

Had same issue. Had to use --upgrade, now working fine again. pip install --upgrade git+https://github.com/simon-weber/Unofficial-Google-Music-API.git@develop

hechtus commented 9 years ago

@benumc Great, thanks for clarifying!

ghost commented 9 years ago

That's great thanks for your help. I thought I had upgraded the gmusicapi but looks like I got the upgrade syntax incorrect.

ghost commented 9 years ago

Worked for me too.