{"action":"created","issue":{"url":"https://api.github.com/repos/mopidy/mopidy-gmusic/issues/197","repository_url":"https://api.github.com/repos/mopidy/mopidy-gmusic","labels_url":"https://api.github.com/repos/mopidy/mopidy-gmusic/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/mopidy/mopidy-gmusic/issues/197/comments","events_url":"https://api.github.com/repos/mopidy/mopidy-gmusic/issues/197/events","html_url":"https://github.com/mopidy/mopidy-gmusic/issues/197","id":335107014,"node_id":"MDU6SXNzdWUzMzUxMDcwMTQ=","number":197,"title":"Google Music not playing","user":{"login":"JJDrill","id":10325910,"node_id":"MDQ6VXNlcjEwMzI1OTEw","avatar_url":"https://avatars0.githubusercontent.com/u/10325910?v=4","gravatar_id":"","url":"https://api.github.com/users/JJDrill","html_url":"https://github.com/JJDrill","followers_url":"https://api.github.com/users/JJDrill/followers","following_url":"https://api.github.com/users/JJDrill/following{/other_user}","gists_url":"https://api.github.com/users/JJDrill/gists{/gist_id}","starred_url":"https://api.github.com/users/JJDrill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JJDrill/subscriptions","organizations_url":"https://api.github.com/users/JJDrill/orgs","repos_url":"https://api.github.com/users/JJDrill/repos","events_url":"https://api.github.com/users/JJDrill/events{/privacy}","received_events_url":"https://api.github.com/users/JJDrill/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-23T15:00:36Z","updated_at":"2018-06-27T08:32:05Z","closed_at":null,"author_association":"NONE","body":"Looks like this is a re-occurring issue, but I wanted to open a new ticket since I'm not sure it's related to what I've seen in previous issues.\r\n\r\nI am able to authenticate to google music, but when I try and play a song I'm getting a HTTP 403 forbidden. I was using a app password at first, but tried turning off 2 factor auth and entered in my standard credentials. That unfortunately did not work either. Below is the error I'm seeing in the mopidy log. FYI - I have tried re-imaging Pi MusicBox and that can play all the default streams just fine.\r\n\r\nOne final note, it does say to check that my device id is set correctly, but I did confirm that ID is being set below. I just commented that ID out for this post.\r\n\r\n2018-06-23 15:56:30,297 - WARNING  Failed to get stream url for T3tqaaw3dd5qnrxh3zvkahnhtoa.\r\n2018-06-23 15:56:30,298 - WARNING  Please ensure your deviceid is set correctly.\r\n2018-06-23 15:56:30,298 - ERROR    Call to Google Music failed\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/mopidy_gmusic/session.py\", line 32, in inner_wrapper\r\n    return func(self, *args, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/mopidy_gmusic/session.py\", line 90, in get_stream_url\r\n    return self.api.get_stream_url(song_id, quality=quality)\r\n  File \"<decorator-gen-102>\", line 2, in get_stream_url\r\n  File \"/usr/local/lib/python2.7/dist-packages/gmusicapi/utils/utils.py\", line 293, in wrapper\r\n    return function(*args, **kw)\r\n  File \"/usr/local/lib/python2.7/dist-packages/gmusicapi/clients/mobileclient.py\", line 393, in get_stream_url\r\n    return self._make_call(mobileclient.GetStreamUrl, song_id, device_id, quality)\r\n  File \"/usr/local/lib/python2.7/dist-packages/gmusicapi/clients/shared.py\", line 84, in _make_call\r\n    return protocol.perform(self.session, self.validate, *args, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/gmusicapi/protocol/shared.py\", line 226, in perform\r\n    raise CallFailure(err_msg, call_name)\r\nCallFailure: GetStreamUrl: 403 Client Error: Forbidden for url: https://mclients.googleapis.com/music/mplay?opt=med&mjck=T3tqaaw3dd5qnrxh3zvkahnhtoa&pt=e&slt=1529765789972&tier=aa&sig=656pXV_UCX-Zt0el81BTfBmXC1g&hl=en_US&dv=0&net=mob\r\n(requests kwargs: {u'url': u'https://mclients.googleapis.com/music/mplay', u'headers': {u'X-Device-ID': u'YES_THIS_WAS_MY_DEVICE_ID', u'Authorization': u'<omitted>'}, u'allow_redirects': False, u'params': {u'opt': u'med', u'mjck': u'T3tqaaw3dd5qnrxh3zvkahnhtoa', u'pt': u'e', u'slt': '1529765789972', u'tier': u'aa', u'sig': '656pXV_UCX-Zt0el81BTfBmXC1g', u'hl': u'en_US', u'dv': 0, u'net': u'mob'}, u'method': u'GET'})\r\n(response was: u'<HTML>\\n<HEAD>\\n<TITLE>Forbidden</TITLE>\\n</HEAD>\\n<BODY BGCOLOR=\"#FFFFFF\" TEXT=\"#000000\">\\n<H1>Forbidden</H1>\\n<H2>Error 403</H2>\\n</BODY>\\n</HTML>\\n')\r\n2018-06-23 15:56:30,300 - WARNING  Track is not playable: gmusic:track:T3tqaaw3dd5qnrxh3zvkahnhtoa"},"comment":{"url":"https://api.github.com/repos/mopidy/mopidy-gmusic/issues/comments/400588411","html_url":"https://github.com/mopidy/mopidy-gmusic/issues/197#issuecomment-400588411","issue_url":"https://api.github.com/repos/mopidy/mopidy-gmusic/issues/197","id":400588411,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDU4ODQxMQ==","user":{"login":"bdn76","id":17513453,"node_id":"MDQ6VXNlcjE3NTEzNDUz","avatar_url":"https://avatars0.githubusercontent.com/u/17513453?v=4","gravatar_id":"","url":"https://api.github.com/users/bdn76","html_url":"https://github.com/bdn76","followers_url":"https://api.github.com/users/bdn76/followers","following_url":"https://api.github.com/users/bdn76/following{/other_user}","gists_url":"https://api.github.com/users/bdn76/gists{/gist_id}","starred_url":"https://api.github.com/users/bdn76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdn76/subscriptions","organizations_url":"https://api.github.com/users/bdn76/orgs","repos_url":"https://api.github.com/users/bdn76/repos","events_url":"https://api.github.com/users/bdn76/events{/privacy}","received_events_url":"https://api.github.com/users/bdn76/received_events","type":"User","site_admin":false},"created_at":"2018-06-27T08:32:05Z","updated_at":"2018-06-27T08:32:05Z","author_association":"NONE","body":"Of course and get correct playlists from Google but item of playlist not play:\r\n\r\n`\r\n...\r\nINFO     Logged in to Google Music\r\nINFO     Start refreshing Google Music library\r\nINFO     Start refreshing Google Music playlists\r\n...\r\nINFO     Starting GLib mainloop\r\nINFO     Finished refreshing Google Music library in 93s\r\n...\r\n`"}}
{"actor":{"display_login":"bdn76"}}