Last active
February 27, 2018 17:10
-
-
Save FlorianOtel/a1d35d8b2bf5b57b791e969c023fc714 to your computer and use it in GitHub Desktop.
mopidy-audioaddict error with mopidy 2.1.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### the mopidy Error when trying to play a stream from https://jazzradio.com | |
ERROR 2018-02-23 13:46:35,436 [1956:Core-12] mopidy.core.playback | |
AudioAddictBackend backend caused an exception. | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/dist-packages/mopidy/core/playback.py", line 423, in _change | |
if not backend.playback.change_track(pending_tl_track.track).get(): | |
File "/usr/local/lib/python2.7/dist-packages/pykka/threading.py", line 52, in get | |
compat.reraise(*self._data['exc_info']) | |
File "/usr/local/lib/python2.7/dist-packages/pykka/compat.py", line 12, in reraise | |
exec('raise tp, value, tb') | |
File "/usr/local/lib/python2.7/dist-packages/pykka/actor.py", line 201, in _actor_loop | |
response = self._handle_receive(message) | |
File "/usr/local/lib/python2.7/dist-packages/pykka/actor.py", line 295, in _handle_receive | |
return callee(*message['args'], **message['kwargs']) | |
File "/usr/local/lib/python2.7/dist-packages/mopidy/backend.py", line 245, in change_track | |
uri = self.translate_uri(track.uri) | |
File "/usr/local/lib/python2.7/dist-packages/mopidy_audioaddict/actor.py", line 123, in translate_uri | |
return _unwrap_stream(channel['streamurl'], timeout=self._config['stream']['timeout'], scanner=self._scanner, requests_session=self._session) | |
File "/usr/local/lib/python2.7/dist-packages/mopidy_audioaddict/actor.py", line 161, in _unwrap_stream | |
scan_result.mime.startswith('text/') or | |
AttributeError: 'NoneType' object has no attribute 'startswith' | |
WARNING 2018-02-23 13:46:35,442 [1956:Core-12] mopidy.core.tracklist | |
Track is not playable: audioaddict:channel:86 | |
### /etc/mopidy/mopidy.conf section for Audioaddict: | |
[audioaddict] | |
enabled = true | |
username = <registered user email> | |
password = <password> | |
jazzradio = true | |
quality = 320k | |
difm = false | |
radiotunes = false | |
rockradio = false | |
frescaradio = false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment