BBC radio feeds broken

Please report any bug found here

BBC radio feeds broken

Postby aj78 » 16 Feb 2015, 22:39

Not a RuneAudio bug report but users may have noticed that the BBC radio feeds and script I provided have stopped working. Apparently the BBC have changed the way they do feeds and, as usual, are being as unhelpful as possible about providing the new feed links. This has broken my script, however I do plan to produce a new script once I can find the new feed URLs. (get_iplayer seems to know about them [the national streams anyway] so it shouldn't be a big job, however my free time is very limited at the moment so it may be a while till I can get round to it).
aj78
 
Posts: 51
Joined: 29 Oct 2014, 20:42

Re: BBC radio feeds broken

Postby aj78 » 17 Feb 2015, 22:52

I've made a bit of progress. I can now get hold of the feed URLs and they play fine in vlc, however they do not play correctly via mpd; I get an error message from 'mpc status' as follows: "ERROR: Failed to decode http://as-hls-uk-live.edgesuite.net/poo ... _length=24" (or whatever the stream URL is).

I have the mpd ffmpeg decoder plugin enabled in /etc/mpd.conf, and vlc reports the stream as being AAC:

adrian@ruatha:~/get_iplayer$ vlc http://as-hls-uk-live.edgesuite.net/poo ... _length=24
VLC media player 2.2.0-rc1 Weatherwax (revision 2.2.0+ppa2.4)
[00000000016db118] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00007f9b60c04ca8] httplive stream: HTTP Live Streaming (as-hls-uk-live.edgesuite.net/pool_6/live/bbc_radio_york/bbc_radio_york.isml/bbc_radio_york-audio%3d128000.m3u8?dvr_window_length=24)
[00007f9b60c05e08] ts demux: MPEG-4 descriptor not found for pid 0x22 type 0xf
[00007f9b60c9cd28] packetizer_mpeg4audio packetizer: AAC channels: 2 samplerate: 48000

Any suggestions why this doesn't work in mpd? Despite the vlc message about MPEG-4 descriptor not found vlc plays the stream fine.

mpd --version output below:
[root@runebox ~]# mpd --version
Music Player Daemon 0.19.6

Copyright (C) 2003-2007 Warren Dukes <warren.dukes@gmail.com>
Copyright (C) 2008-2014 Max Kellermann <max@duempel.org>
This is free software; see the source for copying conditions. There is NO
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Database plugins:
simple proxy upnp

Storage plugins:
local

Decoders plugins:
[mad] mp3 mp2
[vorbis] ogg oga
[oggflac] ogg oga
[flac] flac
[sndfile] wav aiff aif au snd paf iff svx sf voc w64 pvf xi htk caf sd2
[audiofile] wav au aiff aif
[dsdiff] dff
[dsf] dsf
[faad] aac
[ffmpeg] 16sv 3g2 3gp 4xm 8svx aa3 aac ac3 afc aif aifc aiff al alaw amr anim apc ape asf atrac au aud avi avm2 avs bap bfi c93 cak cin cmv cpk daud dct divx dts dv dvd dxa eac3 film flac flc fli fll flx flv g726 gsm gxf iss m1v m2v m2t m2ts m4a m4b m4v mad mj2 mjpeg mjpg mka mkv mlp mm mmf mov mp+ mp1 mp2 mp3 mp4 mpc mpeg mpg mpga mpp mpu mve mvi mxf nc nsv nut nuv oga ogm ogv ogx oma ogg omg opus psp pva qcp qt r3d ra ram rl2 rm rmvb roq rpl rvc shn smk snd sol son spx str swf tgi tgq tgv thp ts tsp tta xa xvid uv uv2 vb vid vob voc vp6 vmd wav webm wma wmv wsaud wsvga wv wve
[pcm]

Output plugins:
null fifo alsa jack httpd

Encoder plugins:
null vorbis wave flac

Input plugins:
file alsa curl ffmpeg mms

Playlist plugins:
extm3u m3u pls xspf asx rss cue embcue

Protocols:
file:// http:// https:// mms:// mmsh:// mmst:// mmsu:// gopher:// rtp:// rtsp:// rtmp:// rtmpt:// rtmps:// alsa://
aj78
 
Posts: 51
Joined: 29 Oct 2014, 20:42

Re: BBC radio feeds broken

Postby PegLEg » 19 Feb 2015, 11:43

Hi,

I've just landed at planet Rune having joined the PI party very late in the day. Got myself a RPi b+/HIFIBerryDIGI+ combo a few days ago and put RundeAudio 0.3 on it. A few glitches, but the main fly in the oinment is this change to BBC Live Radio Feeds.

As the feeds are now HLS based ( e.g. http://a.files.bbci.co.uk/media/live/ma ... three.m3u8 ) I was under the impression the version of MPD in Runeaudio0.3 doesn't support the apple m3u8 format. Or, am I wrong?
PegLEg
 
Posts: 3
Joined: 19 Feb 2015, 11:31

Re: BBC radio feeds broken

Postby LC1 » 19 Feb 2015, 20:03

See this post, new links worked fine for me:

bbc-radio-t546-10.html#p5319
LC1
 
Posts: 50
Joined: 14 Sep 2014, 10:41

Re: BBC radio feeds broken

Postby LC1 » 05 Mar 2015, 08:27

Actually, while they work fine most of the time, I do keep getting annoying drop outs since this change over... Grrr.
LC1
 
Posts: 50
Joined: 14 Sep 2014, 10:41

Re: BBC radio feeds broken

Postby MarkP » 07 Mar 2015, 11:58

If you look further down the thread that was linked above, someone else has figured out how to access the HLS streams using minimserver and minimstreamer - http://www.runeaudio.com/forum/bbc-radio-t546-20.html#p5633.

This approach involves a bit more work initially to set things up, but offers the following advantages:
  • Eliminates the drop-outs that occur in the MP3 streams.
  • More future-proof, since the BBC has already stated that the MP3 streams are only intended as a temporary stop-gap.
  • For listeners in the UK, much higher quality (320 kbps).
  • Once you've got streaming set up, you can use it on other upnp clients on your network, instead of configuring the radio streams individually on separate devices (phone, tablet, etc).

So far we've been discussing running minim on the same device (RasPi) as RuneAudio. However, it should also be possible to run minim on a separate device, if necessary. Check the compatibility on the minim site (http://minimserver.com/downloads/index.html), it seeems pretty broad. The developer of minim has gone to quite some effort to describe how to use the HLS streams (http://minimstreamer.com), so you should find a way to get it working for your set-up.

I've had it running for a few days now, streaming to the Rune and to Avia on my phone, and it seems pretty stable.
Raspberry Pi B+ / HiFiBerry DAC+
MarkP
 
Posts: 8
Joined: 26 Dec 2014, 15:55
Location: Germany

Re: BBC radio feeds broken

Postby LC1 » 08 Mar 2015, 11:04

Thanks ever so much, I had seen there was this solution, but it all seems a bit daunting for me who has no linux experience. What would be great is if the developers could add all the hi-res BBC stations in their next release ;)
LC1
 
Posts: 50
Joined: 14 Sep 2014, 10:41

Re: BBC radio feeds broken

Postby ACX » 08 Mar 2015, 15:16

LC1 wrote:What would be great is if the developers could add all the hi-res BBC stations in their next release ;)

Not in the next one (no time for that, sorry), but it will probably happen in a future version.
User avatar
ACX
RuneAudio co-founder
 
Posts: 1692
Joined: 29 Nov 2013, 02:25
Location: Udine, Italy

Re: BBC radio feeds broken

Postby LC1 » 12 Mar 2015, 18:52

Great to hear, I look forward to it!
LC1
 
Posts: 50
Joined: 14 Sep 2014, 10:41

Re: BBC radio feeds broken

Postby aj78 » 16 Mar 2015, 12:04

The minimstreamer approach seems to work very well. However, looking in a bit more detail at the software it appears unwise to rely on it for a long term solution as it has a very odd time-limited license (currently to June 15) and the author appears extremely cagey about his future plans. The license has been extended before (it was originally up to some time in 2014, then December 2014, now June this year) but it highlights the risks of relying on non-Free software. Also there is a non-redistribution clause in the license which would mean that if the project wanted to incorporate it there would have to be a run-on-first-boot script to download and install it.

Hopefully now that the HLS streams are available another Free project will incorporate similar functionality - or mpd will develop the ability to play them back correctly without requiring additional support.
aj78
 
Posts: 51
Joined: 29 Oct 2014, 20:42

support RuneAudio Donate with PayPal


Return to Bug report

Who is online

Users browsing this forum: No registered users and 1 guest
cron