# Error when playing Radio Stream

**URL:** <https://discourse.mopidy.com/t/error-when-playing-radio-stream/4074>\
**Category:** Misc\
**Created:** [June 2, 2020, 6:51pm UTC](https://discourse.mopidy.com/t/error-when-playing-radio-stream/4074 "2020-06-02T18:51:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hav0ck](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/hav0ck/32/1224_2.png) [@hav0ck](https://discourse.mopidy.com/u/hav0ck)\
**Post date:** [June 2, 2020, 6:51pm UTC](https://discourse.mopidy.com/t/error-when-playing-radio-stream/4074/1 "2020-06-02T18:51:36Z")

</div>

I’m slowly getting Mopidy 3 up and running. I’ve run into an issue playing some radio streams. The streams I added all worked in Mopidy 2.

One of the streams is: [http://live.leanstream.co/CFNYFM-MP3](http://live.leanstream.co/CFNYFM-MP3)

I get this error when I try to play it:

> WARNING [83701:MainThread] mopidy.audio.gst: GStreamer warning: No decoder available for type ‘audio/mpeg, framed=(boolean)true, mpegversion=(int)2, level=(string)1, profile=(string)lc, rate=(int)22050, channels=(int)1, stream-format=(string)adts’.

I did a ‘apt list --installed’ on the old Mopidy 2 server and the new mopidy 3 one and I found these were on the old server but not the new one.

> gstreamer1.0-plugins-bad-faad/xenial-updates,now 1.8.3-1ubuntu0.2 amd64 [installed,automatic]  
> gstreamer1.0-plugins-bad-videoparsers/xenial-updates,now 1.8.3-1ubuntu0.2 amd64 [installed,automatic]  
> gstreamer1.0-plugins-good/xenial-updates,xenial-security,now 1.8.3-1ubuntu0.4 amd64 [installed,automatic]  
> gstreamer1.0-plugins-ugly-amr/xenial-updates,now 1.8.3-1ubuntu0.1 amd64 [installed,automatic

I am also getting an error for HTML based streams?  
WARNING [85708:MainThread] mopidy.audio.gst: GStreamer warning: No decoder available for type ‘text/html’.

I think these are the last stumbling blocks to a finished product.

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [June 2, 2020, 8:09pm UTC](https://discourse.mopidy.com/t/error-when-playing-radio-stream/4074/2 "2020-06-02T20:09:33Z")

</div>

Ubuntu seems to keep moving the mp3 decoder around, probably as it became free, I’ve not lost track of which packages it lives in now. You certainly need the -good,bad,ugly plugins. Maybe it’s in libav? I can’t remember but I’m sure google knows.

---

<div class="post-metadata">

**Author:** ![hav0ck](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/hav0ck/32/1224_2.png) [@hav0ck](https://discourse.mopidy.com/u/hav0ck)\
**Post date:** [June 3, 2020, 11:02pm UTC](https://discourse.mopidy.com/t/error-when-playing-radio-stream/4074/3 "2020-06-03T23:02:32Z")

</div>

Thanks for the tip, Found the mp3 codecs in the ubuntu-restricted-extras
