hechtus / squeezebox-googlemusic

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

Forbidden - Error 403 Not Resolved #47

Open PatJam999 opened 10 years ago

PatJam999 commented 10 years ago

I just (re)installed Linux Mint on 2 separate systems and have been trying (unsuccessfully) to get the Google music stream working on these. I've read some postings that this issues was previously resolved by using the development version of the Google Music API - as per the install instructions here.

Unfortunately that solution does not seem to be working for me. I have been careful to follow the doc's install instructions to the letter - in fact I reinstalled everything (apart from the OS) in an effort to figure out the problem. However I still get the 'GetStreamUrl error: 403 Client Error: Forbidden' in my log file when I try to stream Google Audio Files - (everything else works as expected - libraries are found, just no sound).

I've tried to look at every step in the install process - including the GoogleMusic API, PIP and httplib2 versions - suspecting that any of these could be the cause of the problem. One of my systems is a 32 bit laptop, the other is a 64 bit desktop system. Both are running the latest version of Linux Mint Cinnamon (version 17). I'm not sure what else I can try (other than a new/different OS install) - however I'd prefer to get some input from others on this, as it seems to be a recurring problem - and will remain so as the Google API is probably a moving target. Below is a link to my forum posting - since I made that posting I've been unsuccessful in getting this to run on my desktop. Hopefully posting this here will get a better response.

Finally I know this plugin should work, as it ran OK on my previous OS installs (Mint 16). Maybe there an incompatibility with Mint 17, but that sounds a bit far fetched to me.

<> http://forums.slimdevices.com/showthread.php?101886-Google-All-Play-Music-Plugin-TroubleShooting-Questions

hechtus commented 10 years ago

From the error message you are posting it seems that there is a problem with the mobile device ID. Could you please check that this is correct and refers to a registered mobile device (not a PC MAC address). Have a look at the settings page of the plugin.

PatJam999 commented 10 years ago

Ronald, Thx for the quick response - you were correct re the registered device ID. FYI I had entered the MAC address of my Nexus 7 as the device ID in the Google Settings page for the plugin. I was unable to find the mobile device ID in the settings of my Nexus - however by deleting the entry and updating the online form this field was correctly populated by the Google server. After that the plugin worked correctly.

I appreciate your quick response on this and I'd suggest that the online docs/install instructions be updated so it does not catch out anyone else. I'll be sure to post some comments online to reflect the fix here. (I can't be the only person to hit this problem)).

Perhaps a check list of 'gotchas' could include info re the device settings

Regards, Patrick

On Tue, Jul 29, 2014 at 12:00 AM, Ronald Hecht notifications@github.com wrote:

From the error message you are posting it seems that there is a problem with the mobile device ID. Could you please check that this is correct and refers to a registered mobile device (not a PC MAC address). Have a look at the settings page of the plugin.

— Reply to this email directly or view it on GitHub https://github.com/hechtus/squeezebox-googlemusic/issues/47#issuecomment-50442232 .