Open MaestroZ opened 9 years ago
I also experienced some strange behavior with genre radio stations. There are stations missing. I will have a look.
... and I'm getting the same errors as you. Too bad. As the error message suggest, you could create an issue at the gmusicapi GitHub repo.
It looks like the naming has changed. The items in My Radio Stations still work and have urls like: URL: googlemusicradio:station:9bac28f3-2cba-3021-a8ed-fa17b5a047d5
In Radio Genres none of the items work and they have urls like: URL: googlemusicradio:genre:ROCK_ROLL_70S
I just ran
pip install --upgrade git+https://github.com/simon-weber/Unofficial-Google-Music-API.git@develop
in an attempt to fix, and it broke my google music plugin
my account fails to log in successfully now.
In google music settings: "Not logged in to Google Play Music. Set your username and password. No mobile device (phone or tablet) registered for Google Play Music. Not able to obtain the mobile device ID automatically. "
in server.log: Plugins::GoogleMusic::Plugin::initPlugin (94) Not able to login to Google Play Music: exceptions.TypeError: login() takes exactly 4 arguments (3 given) at (eval 913) line 182.
any other info I can provide?
Be careful with the gmusicapi update ! The plugin uses the dev branch and currently there's a lot of changes concerning authentication. Til now, the ClientLogin method was used but it will soon be dropped by Google and so gmusicapi will have to use another method to log in. I think that the squeezebox plugin will have to 'move' accordingly if possible.
It's ok, I always make backup images so I can roll back. I was just trying to restore full radio functionality. Today I did another: pip install --upgrade git+https://github.com/simon-weber/Unofficial-Google-Music-API.git@develop
It has restored some functionality. The plugin will now log in successfully, I can play tracks and playlists, but all radio functionality is now broken. Both the radio stations in "My Radio Stations" and "Radio Genres" fail to generate playlists when selected.
[15-05-22 13:37:48.0205] Plugins::GoogleMusic::Radio::fetchStationTracks (436) Not able to get tracks for station 3eba2ba8-49e7-3408-9123-de64c9ebfa1d: exceptions.TypeError: get_station_tracks() takes at most 3 arguments (4 given) at (eval 913) line 176.
Hi, I just installed plugin on Rasp Pi with squeezeplug and it works fine (after I solved https pb) except for radios. When I try to start say 80s pop genre radio, the LMS log shows
Plugins::GoogleMusic::Radio::cliRequest (300) Not able to create genre radio station for genre ID POP_80S: CallFailure: BatchMutateStations: The server reported failure while changing the requested resource. If this wasn't caused by invalid arguments or server flakiness, please open an issue. (requests kwargs: {'url': 'https://mclients.googleapis.com/sj/v1.10/radio/editstation', 'headers': {'Content-Type': 'application/json', 'Authorization': ''}, 'data': '{"mutations": [{"create": {"tracks": [], "seed": {"genreId": "POP_80S"}, "imageType": 1, "deleted": false, "lastModifiedTimestamp": "-1", "recentTimestamp": "1429428581467785", "clientId": "d7cea004-e665-11e4-a633-b827eb758976", "name": "\'80s Pop"}, "includeFeed": false, "params": {"contentFilter": 1}, "numEntries": 0}]}', 'method': 'POST', 'params': {'alt': 'json'}})
(response was: '{\n "mutate_response": [\n {\n "id": "",\n "response_code": "INVALID_REQUEST"\n }\n ]\n}\n') at line 676
The google music API dev is up-to-date
Any idea MaestroZ
And thanx for the good job