Backend extensions Mopidy-radio-de


i take the configuration like given on GitHub, but this happens:

INFO Starting Mopidy backends: RadioDeBackend, StreamBackend, M3UBackend, FileBackend, SpotifyBackend, SpotifyTunigoBackend
ERROR Got un-handled exception from RadioDeBackend
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/mopidy/”, line 237, in _actor_error_handling
File “/usr/lib/python2.7/dist-packages/mopidy/”, line 385, in start_backends
config=config, audio=audio).proxy()
File “/usr/lib/python2.7/dist-packages/pykka/”, line 94, in start
obj = cls(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/mopidy_radio_de/”, line 48, in init
File “/usr/local/lib/python2.7/dist-packages/mopidy_radio_de/”, line 57, in init
if len(proxy):
TypeError: object of type ‘NoneType’ has no len()

My Configuration:
enabled = true
language = german
favorites = Tagesschau, NDR 2, NDR Kultur

How you configured your extension Radio-De???

I have not heard of that extension, if they have a github page I would suggest posting an issue directly on there - this looks like a bug.

You can find it here:

or directly on GitHub here:

if it nessesary for you


if you still have the problem, there is a fix from the author of the mopidy-radio-de plugin which is already on GitHub itself. However, I think, the fix is not included when you install the plugin using “pip” (see - which was also the problem in my case now.

How to fix it manually (assuming current raspbian linux)
If you want to manually fix the issue, see which file and what has changed here.

If you have installed the plugin with “sudo pip install mopidy-radio-de”, you just have to modify two lines and recompile the source files. The plugin and source files might have been downloaded to “/usr/local/lib/python2.7/dist-packages/mopidy_radio_de/” on your system.

  • Switch to that folder

  • Open the file “” with an editor of your choice

  • Navigate to the appropriate lines which are listed in the link above and fix the issues manually, i.e.: change “proxy=None” instead of " proxy=’’ " and change “proxy is not None” instead of “len(proxy)”

  • Save the file and exit the editor

  • Remove the currently existing compiled file and recompile everything in that folder (or only the file) with:
    sudo rm ./api.pyc (attention: use the correct extionsion with c at the end!)
    sudo python -m compileall .

Hope this helps!

1 Like

this did solve my issue - unfortunate now I am facing the next issue which seems a lack of api key:

2017-01-18 15:39:59,466 ERROR [2046:RadioDeBackend-4] pykka: Unhandled exception in RadioDeBackend (urn:uuid:6594afda-69ec-4a50-a065-f600f9b11521):
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pykka/", line 192, in _actor_loop
  File "/usr/local/lib/python2.7/dist-packages/mopidy_radio_de/", line 53, in on_start
  File "/usr/local/lib/python2.7/dist-packages/mopidy_radio_de/", line 28, in refresh
    stations = self.backend.api.search_stations_by_string(favorite, 20)
  File "/usr/local/lib/python2.7/dist-packages/mopidy_radio_de/", line 119, in search_stations_by_string
    return self.__api_call(path, param)
  File "/usr/local/lib/python2.7/dist-packages/mopidy_radio_de/", line 174, in __api_call
    response = self.__urlopen(url)
  File "/usr/local/lib/python2.7/dist-packages/mopidy_radio_de/", line 186, in __urlopen
    raise RadioDeApiError('HTTPError: %s' % error)
RadioDeApiError: HTTPError: HTTP Error 401: Unauthorized
2017-01-18 15:39:59,606 ERROR [2046:MainThread] mopidy.commands: Actor died: RadioDeBackend (urn:uuid:6594afda-69ec-4a50-a065-f600f9b11521) not found

any ideas how to overcome this?

Update: it seems the error is caused by a URL Call to get favorites, which is failing :frowning:

removing the favorite tag in the mopidy.conf let’s start up the plugin


it seems to be outdated:

mopidy.core.library: RadioDeBackend does not implement with "exact" support. Please upgrade it.

this message is received by any search operation and no real search is performed on

-> does anyone have this plugin active at the moment?

Thank you