Can't play radio streams with Mopidy-AudioAddict or Mopidy-Bassdrive

Hi,

I’m trying to use mopidy in a debian stretch. Local files are playing nice, but can’t get AudioAddict or Bassdrive extensons work both prints a gstreamer error on console.

(python2:13073): GStreamer-CRITICAL **: gst_element_make_from_uri: assertion ‘gst_uri_is_valid (uri)’ failed
WARNING Download of ‘“http:/ /equinox.shoutca.st:8702”’ failed due to unsupported schema
INFO Unwrapping stream from URI (http:/ /bassdrive.com/v2/streams/BassDrive.pls) failed: error downloading URI "http:/ /equinox.shoutca.st:8702"
WARNING Problem looking up http:/ /bassdrive.com/v2/streams/BassDrive.pls

PS: I did insert a space between URL slashes to bypass discuss limit for new users but the URL is ok there is no problem with it.

I found the problem of Mopidy-Bassdrive!

When I change the URL lib/python2.7/site-packages/mopidy_bassdrive/library.py

From: _stream_url = 'http:/ /bassdrive.com/v2/streams/BassDrive.pls’
To: _stream_url = ‘http:/ /bassdrive.com/bassdrive.m3u’

It works. So I figure out that there is a bug on mopidy’s parse_pls() because it is returning ‘“http://equinox.shoutca.st:8702”’ (a string with double quotes inside single quotes) and gstreamer can’t play it.

Strip quotes from the string fix the problem of Bassdrive extension but AudioAddict still doesn’t work

The function parse_pls() is defined in lib/python2.7/site-packages/mopidy/internal/playlists.py