I just tried out the extension (I installed in using pip install ...) with mopidy 0.18.3. After specifying the configuration values (language, favorites), mopidy crashed on startup. Below you can see the error message. As I did not specify a proxy in my mopidy configuration, I just commented out lines 57-60 in api.py. After doing so, both mopidy and the extension worked again.
ERROR object of type 'NoneType' has no len()
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/mopidy/__main__.py", line 128, in main
return args.command.run(args, proxied_config)
File "/usr/local/lib/python2.7/dist-packages/mopidy/commands.py", line 268, in run
backends = self.start_backends(config, backend_classes, audio)
File "/usr/local/lib/python2.7/dist-packages/mopidy/commands.py", line 294, in start_backends
backend = backend_class.start(config=config, audio=audio).proxy()
File "/usr/lib/python2.7/dist-packages/pykka/actor.py", line 93, in start
obj = cls(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/mopidy_radio_de/actor.py", line 48, in __init__
proxy=proxy)
File "/usr/local/lib/python2.7/dist-packages/mopidy_radio_de/api.py", line 57, in __init__
if len(proxy):
TypeError: object of type 'NoneType' has no len()
Traceback (most recent call last):
File "/usr/local/bin/mopidy", line 9, in <module>
load_entry_point('Mopidy==0.18.3', 'console_scripts', 'mopidy')()
File "/usr/local/lib/python2.7/dist-packages/mopidy/__main__.py", line 128, in main
return args.command.run(args, proxied_config)
File "/usr/local/lib/python2.7/dist-packages/mopidy/commands.py", line 268, in run
backends = self.start_backends(config, backend_classes, audio)
File "/usr/local/lib/python2.7/dist-packages/mopidy/commands.py", line 294, in start_backends
backend = backend_class.start(config=config, audio=audio).proxy()
File "/usr/lib/python2.7/dist-packages/pykka/actor.py", line 93, in start
obj = cls(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/mopidy_radio_de/actor.py", line 48, in __init__
proxy=proxy)
File "/usr/local/lib/python2.7/dist-packages/mopidy_radio_de/api.py", line 57, in __init__
if len(proxy):
TypeError: object of type 'NoneType' has no len()