{"action":"created","issue":{"url":"https://api.github.com/repos/simon-weber/gmusicapi/issues/474","repository_url":"https://api.github.com/repos/simon-weber/gmusicapi","labels_url":"https://api.github.com/repos/simon-weber/gmusicapi/issues/474/labels{/name}","comments_url":"https://api.github.com/repos/simon-weber/gmusicapi/issues/474/comments","events_url":"https://api.github.com/repos/simon-weber/gmusicapi/issues/474/events","html_url":"https://github.com/simon-weber/gmusicapi/issues/474","id":164708259,"number":474,"title":"search() method in MobileClient doesn't work on non-paid accounts","user":{"login":"askvictor","id":1728474,"avatar_url":"https://avatars.githubusercontent.com/u/1728474?v=3","gravatar_id":"","url":"https://api.github.com/users/askvictor","html_url":"https://github.com/askvictor","followers_url":"https://api.github.com/users/askvictor/followers","following_url":"https://api.github.com/users/askvictor/following{/other_user}","gists_url":"https://api.github.com/users/askvictor/gists{/gist_id}","starred_url":"https://api.github.com/users/askvictor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/askvictor/subscriptions","organizations_url":"https://api.github.com/users/askvictor/orgs","repos_url":"https://api.github.com/users/askvictor/repos","events_url":"https://api.github.com/users/askvictor/events{/privacy}","received_events_url":"https://api.github.com/users/askvictor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-07-10T09:49:12Z","updated_at":"2016-12-31T02:53:29Z","closed_at":null,"body":"After a successful login on the MobileClient, if I try to do a search using a non-subscription account, I get the following:\n\n```\nIn [4]: s=api.search(\"neutral\",100)\n---------------------------------------------------------------------------\nCallFailure                               Traceback (most recent call last)\n<ipython-input-4-00d472560fe7> in <module>()\n----> 1 s=api.search(\"neutral\",100)\n\n/usr/local/lib/python2.7/dist-packages/gmusicapi/clients/mobileclient.py in search(self, query, max_results)\n   1217         \"\"\"\n   1218 \n-> 1219         res = self._make_call(mobileclient.Search, query, max_results)\n   1220 \n   1221         hits = res.get('entries', [])\n\n/usr/local/lib/python2.7/dist-packages/gmusicapi/clients/shared.pyc in _make_call(self, protocol, *args, **kwargs)\n     82         CallFailure may be raised.\"\"\"\n     83 \n---> 84         return protocol.perform(self.session, self.validate, *args, **kwargs)\n     85 \n     86     def is_authenticated(self):\n\n/usr/local/lib/python2.7/dist-packages/gmusicapi/protocol/shared.pyc in perform(cls, session, validate, *args, **kwargs)\n    226                     err_msg += \"\\n(response was: %r)\" % response.text\n    227 \n--> 228                 raise CallFailure(err_msg, call_name)\n    229 \n    230         try:\n\nCallFailure: Search: 404 Client Error: Not Found for url: https://mclients.googleapis.com/sj/v2.4/query?q=neutral&max-results=100&tier=fr&hl=en_US&ct=1%2C2%2C3%2C4%2C6%2C7%2C8\n(requests kwargs: {u'url': u'https://mclients.googleapis.com/sj/v2.4/query', u'headers': {u'Authorization': u'<omitted>'}, u'params': {u'q': 'neutral', u'max-results': 100, u'tier': u'fr', u'hl': u'en_US', u'ct': u'1,2,3,4,6,7,8'}, u'method': u'GET'})\n(response was: u'{\\n \"error\": {\\n  \"errors\": [\\n   {\\n    \"domain\": \"global\",\\n    \"reason\": \"notFound\",\\n    \"message\": \"Not Found\"\\n   }\\n  ],\\n  \"code\": 404,\\n  \"message\": \"Not Found\"\\n }\\n}\\n')\n\n```\n\nIt works fine on a subscription account.\n"},"comment":{"url":"https://api.github.com/repos/simon-weber/gmusicapi/issues/comments/269845363","html_url":"https://github.com/simon-weber/gmusicapi/issues/474#issuecomment-269845363","issue_url":"https://api.github.com/repos/simon-weber/gmusicapi/issues/474","id":269845363,"user":{"login":"rubik","id":238549,"avatar_url":"https://avatars.githubusercontent.com/u/238549?v=3","gravatar_id":"","url":"https://api.github.com/users/rubik","html_url":"https://github.com/rubik","followers_url":"https://api.github.com/users/rubik/followers","following_url":"https://api.github.com/users/rubik/following{/other_user}","gists_url":"https://api.github.com/users/rubik/gists{/gist_id}","starred_url":"https://api.github.com/users/rubik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubik/subscriptions","organizations_url":"https://api.github.com/users/rubik/orgs","repos_url":"https://api.github.com/users/rubik/repos","events_url":"https://api.github.com/users/rubik/events{/privacy}","received_events_url":"https://api.github.com/users/rubik/received_events","type":"User","site_admin":false},"created_at":"2016-12-31T02:53:29Z","updated_at":"2016-12-31T02:53:29Z","body":"Italy, free account. I'm getting the same error."}}
{"actor":{"display_login":"rubik"}}