{"action":"created","issue":{"url":"https://api.github.com/repos/mopidy/mopidy/issues/1366","labels_url":"https://api.github.com/repos/mopidy/mopidy/issues/1366/labels{/name}","comments_url":"https://api.github.com/repos/mopidy/mopidy/issues/1366/comments","events_url":"https://api.github.com/repos/mopidy/mopidy/issues/1366/events","html_url":"https://github.com/mopidy/mopidy/issues/1366","id":123543543,"number":1366,"title":"Mopidy Core crashes when playing bbc podcast","user":{"login":"AnsgarSchmidt","id":1632181,"avatar_url":"https://avatars.githubusercontent.com/u/1632181?v=3","gravatar_id":"","url":"https://api.github.com/users/AnsgarSchmidt","html_url":"https://github.com/AnsgarSchmidt","followers_url":"https://api.github.com/users/AnsgarSchmidt/followers","following_url":"https://api.github.com/users/AnsgarSchmidt/following{/other_user}","gists_url":"https://api.github.com/users/AnsgarSchmidt/gists{/gist_id}","starred_url":"https://api.github.com/users/AnsgarSchmidt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnsgarSchmidt/subscriptions","organizations_url":"https://api.github.com/users/AnsgarSchmidt/orgs","repos_url":"https://api.github.com/users/AnsgarSchmidt/repos","events_url":"https://api.github.com/users/AnsgarSchmidt/events{/privacy}","received_events_url":"https://api.github.com/users/AnsgarSchmidt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mopidy/mopidy/labels/bug","name":"bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mopidy/mopidy/milestones/53","html_url":"https://github.com/mopidy/mopidy/milestones/v1.1.2%20-%20Bugfixes","labels_url":"https://api.github.com/repos/mopidy/mopidy/milestones/53/labels","id":1303885,"number":53,"title":"v1.1.2 - Bugfixes","description":"\r\n\r\n<!---\r\n@huboard:{\"order\":16.09375}\r\n-->\r\n","creator":{"login":"jodal","id":43726,"avatar_url":"https://avatars.githubusercontent.com/u/43726?v=3","gravatar_id":"","url":"https://api.github.com/users/jodal","html_url":"https://github.com/jodal","followers_url":"https://api.github.com/users/jodal/followers","following_url":"https://api.github.com/users/jodal/following{/other_user}","gists_url":"https://api.github.com/users/jodal/gists{/gist_id}","starred_url":"https://api.github.com/users/jodal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodal/subscriptions","organizations_url":"https://api.github.com/users/jodal/orgs","repos_url":"https://api.github.com/users/jodal/repos","events_url":"https://api.github.com/users/jodal/events{/privacy}","received_events_url":"https://api.github.com/users/jodal/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":21,"state":"open","created_at":"2015-09-14T08:42:18Z","updated_at":"2016-01-17T22:29:00Z","due_on":"2016-01-02T23:00:00Z","closed_at":null},"comments":6,"created_at":"2015-12-22T19:39:28Z","updated_at":"2016-01-18T20:15:17Z","closed_at":null,"body":"Hi, \r\n\r\nI am using mopidy 1.1.1.1 with odroid. When I try to play the bbc podcasts the mopidy core\r\ncrashes. \r\n\r\nHere is one example mp3 file\r\nhttp://open.live.bbc.co.uk/mediaselector/5/redir/version/2.0/mediaset/audio-nondrm-download/proto/http/vpid/p02r4wlz.mp3\r\nhttp://open.live.bbc.co.uk/mediaselector/5/redir/version/2.0/mediaset/audio-nondrm-download/proto/http/vpid/p02r5219.mp3\r\n\r\nFrom this podcast:\r\nhttp://downloads.bbc.co.uk/podcasts/radio4/myshakespeare/rss.xml\r\n\r\n```\r\nodroid@hal:/var/log/mopidy$ apt-cache policy mopidy\r\nmopidy:\r\n  Installed: 1.1.1-1\r\n  Candidate: 1.1.1-1\r\n  Version table:\r\n *** 1.1.1-1 0\r\n        500 http://apt.mopidy.com/ stable/main armhf Packages\r\n        100 /var/lib/dpkg/status\r\n```\r\n\r\n```\r\n2015-12-22 12:51:56,409 INFO [17556:StreamBackend-6] urllib3.connectionpool: Starting new HTTP connection (1): open.live.bbc.co.uk\r\n2015-12-22 12:51:56,555 ERROR [17556:Core-11] pykka: Unhandled exception in Core (urn:uuid:42489c57-2c26-44dc-b6b0-6050a0645de4):\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/dist-packages/pykka/actor.py\", line 201, in _actor_loop\r\n    response = self._handle_receive(message)\r\n  File \"/usr/lib/python2.7/dist-packages/pykka/actor.py\", line 295, in _handle_receive\r\n    return callee(*message['args'], **message['kwargs'])\r\n  File \"/usr/lib/python2.7/dist-packages/mopidy/listener.py\", line 54, in on_event\r\n    getattr(self, event)(**kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/mopidy/core/actor.py\", line 87, in reached_end_of_stream\r\n    self.playback._on_end_of_track()\r\n  File \"/usr/lib/python2.7/dist-packages/mopidy/core/playback.py\", line 232, in _on_end_of_track\r\n    self._change_track(next_tl_track)\r\n  File \"/usr/lib/python2.7/dist-packages/mopidy/core/playback.py\", line 208, in _change_track\r\n    self._play(on_error_step=on_error_step)\r\n  File \"/usr/lib/python2.7/dist-packages/mopidy/core/playback.py\", line 348, in _play\r\n    backend.playback.change_track(tl_track.track).get() and\r\n  File \"/usr/lib/python2.7/dist-packages/pykka/threading.py\", line 52, in get\r\n    compat.reraise(*self._data['exc_info'])\r\n  File \"/usr/lib/python2.7/dist-packages/pykka/compat.py\", line 12, in reraise\r\n    exec('raise tp, value, tb')\r\n  File \"/usr/lib/python2.7/dist-packages/pykka/actor.py\", line 201, in _actor_loop\r\n    response = self._handle_receive(message)\r\n  File \"/usr/lib/python2.7/dist-packages/pykka/actor.py\", line 295, in _handle_receive\r\n    return callee(*message['args'], **message['kwargs'])\r\n  File \"/usr/lib/python2.7/dist-packages/mopidy/backend.py\", line 245, in change_track\r\n    uri = self.translate_uri(track.uri)\r\n  File \"/usr/lib/python2.7/dist-packages/mopidy/stream/actor.py\", line 88, in translate_uri\r\n    requests_session=self._session)\r\n  File \"/usr/lib/python2.7/dist-packages/mopidy/stream/actor.py\", line 140, in _unwrap_stream\r\n    requests_session, uri, timeout=download_timeout)\r\n  File \"/usr/lib/python2.7/dist-packages/mopidy/internal/http.py\", line 26, in download\r\n    response = session.get(uri, stream=True, timeout=timeout)\r\n  File \"/usr/lib/python2.7/dist-packages/requests/sessions.py\", line 467, in get\r\n    return self.request('GET', url, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/requests/sessions.py\", line 455, in request\r\n    resp = self.send(prep, **send_kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/requests/sessions.py\", line 578, in send\r\n    history = [resp for resp in gen] if allow_redirects else []\r\n  File \"/usr/lib/python2.7/dist-packages/requests/sessions.py\", line 165, in resolve_redirects\r\n    proxies = self.rebuild_proxies(prepared_request, proxies)\r\n  File \"/usr/lib/python2.7/dist-packages/requests/sessions.py\", line 239, in rebuild_proxies\r\n    username, password = get_auth_from_url(new_proxies[scheme])\r\n  File \"/usr/lib/python2.7/dist-packages/requests/utils.py\", line 642, in get_auth_from_url\r\n    parsed = urlparse(url)\r\n  File \"/usr/lib/python2.7/urlparse.py\", line 143, in urlparse\r\n    tuple = urlsplit(url, scheme, allow_fragments)\r\n  File \"/usr/lib/python2.7/urlparse.py\", line 182, in urlsplit\r\n    i = url.find(':')\r\nAttributeError: 'NoneType' object has no attribute 'find'\r\n```"},"comment":{"url":"https://api.github.com/repos/mopidy/mopidy/issues/comments/172642306","html_url":"https://github.com/mopidy/mopidy/issues/1366#issuecomment-172642306","issue_url":"https://api.github.com/repos/mopidy/mopidy/issues/1366","id":172642306,"user":{"login":"jodal","id":43726,"avatar_url":"https://avatars.githubusercontent.com/u/43726?v=3","gravatar_id":"","url":"https://api.github.com/users/jodal","html_url":"https://github.com/jodal","followers_url":"https://api.github.com/users/jodal/followers","following_url":"https://api.github.com/users/jodal/following{/other_user}","gists_url":"https://api.github.com/users/jodal/gists{/gist_id}","starred_url":"https://api.github.com/users/jodal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodal/subscriptions","organizations_url":"https://api.github.com/users/jodal/orgs","repos_url":"https://api.github.com/users/jodal/repos","events_url":"https://api.github.com/users/jodal/events{/privacy}","received_events_url":"https://api.github.com/users/jodal/received_events","type":"User","site_admin":false},"created_at":"2016-01-18T20:15:17Z","updated_at":"2016-01-18T20:15:17Z","body":"Both URLs work with `mpc add $url` for me:\r\n\r\n```\r\n$ mpc playlist\r\nBBC Radio 4 - MyShakespeare: Shami Chakrabarti\r\nBBC Radio 4 - MyOwnShakespeare: Jane Glover 15 May 12\r\n```\r\n\r\nI tested both with the release-1.1 branch and the 1.1.1 release.\r\n\r\nAnyone else that can reproduce this?"}}