For many months I've been occsionally tuning in (from California...) to Radio 2, last time on Monday for the Blues Show. I had a standard omxplayer bash script to do this. Today I went to listen to Immelda May, but all I could get was "Have a Nice Day!"
I used my laptop and Firefox to actually hear the show, but that's much less convenient. It looks like that is using MPEG-DASH, which I gather is continuous short chunks with individual URLs. I don't know if omxplayer handles this? I gather (from the meagre info on the BBC help page) that mp3 and so on should still be available, but how do I find the actual streams? (Don't remember how I found it before -- suspect it was from the Firefox Page Info, but the "blob" found there doesn't work now.)
Hmm... I tried to connect to R2 from another browser and OS (Haiku), just to see if I could get any more illumination, and it required me to 'Log in'! Neither Firefox on Linux-Mint, nor Firefox on my Android PDA ask for a log in... May be why I can't use omxplayer any more, though.
I've no experience with boxed 'Internet Radios', which are supposedly capable of receiving the BBC. Do they have any 'login' capability?
On Fri, 24 May 2019 22:53:30 +0000 (UTC), snipped-for-privacy@GoodeveCa.net (Pete) declaimed the following:
Check the Firefox Options Privacy & Security for Logins & Passwords -- display the Saved Logins. Browse the list for something that looks like your desired radio. Then hit "Show Passwords" -- if the URL is in there, that will show you the login and the password you used for it.
Granted, it may just be a case of having a long-life cookie in Firefox but not on the other systems.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com
These urls seem to work still. I figured them out from the web player page source long ago.
bbc1
formatting link
bbc1x
formatting link
bbc2
formatting link
bbc3
formatting link
bbc4fm
formatting link
bbc4lw
formatting link
bbc4x
formatting link
bbc5
formatting link
bbc6
formatting link
bbcws
formatting link
But I don't know whether omxplayer is able to handle them. I guess it should be. I use them with streaming audio server 'mpd' and its commandline interface 'mpc' via a bash script via a web page I made:
The Natural Philosopher wrote, on 25-05-2019 10:24:
Ah yes, saw your reply after I posted. My web page uses ajax in javascript to call a php script which calls a bash script which calls mpc which calls mpd.... and the result gets displayed on the web page.
Crucial step to get it working was to grant permission to the web server user www-data to call the bash script (and a scheduler, and shutdown; so I guess that might be a huge gaping security hole now, or at least a very promising new attack vector): sudo visudo and add a line.
However, that radio2 url above is the same as I've been using, except that mine ended '..._mf_q'. '..._p' doesn't work for me, either. (:-() ("mpg123 -@..." also doesn't work.)
Can you verify that it still works for you *today*? It only just happened to me.
Damn! Really odd. Nothing's changed in my setup, and Caroline still comes in just fine. (And as I said Firefox has no trouble, but I don't think that uses that link any longer.)
Wonder if the BBC would actually answer a query? (:-/)
Download an MP3 file that plays in mpg123 / omxplayer?
Working for me right now using: mpg321
formatting link
Wget also downloads an MP3 that plays with mpg321 (mpg123 should be equivalent).
One possible difference is that the stream is 48000Hz audio, while others often use 44100Hz. That normally wouldn't matter much except for a little more CPU usage, but maybe there's a problem there somewhere (in which case there may be problems with playing local MP3 files that use 48000Hz sampling rate as well).
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.16.0; written and copyright by Michael Hipp and others free software (LGPL) without any warranty but with best wishes Note: MIME type indicates that this is no playlist but an mpeg audio file... reopening as such.
Directory:
formatting link
Playing MPEG stream 1 of 1: bbcmedia_radio2_mf_p ... ICY-NAME: BBC Radio 2
MPEG 1.0 layer III, 128 kbit/s, 48000 Hz joint-stereo
ICY-META: StreamTitle='';
Works for me...
Nice bit of prog rock came up. Foreigner?
--
Gun Control: The law that ensures that only criminals have guns.
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.14.4; written and copyright by Michael Hipp and others free software (LGPL/GPL) without any warranty but with best wishes HTTP request failed: 404 File Not Found [playlist.c:271] error: Invalid playlist from http_open()!
You're in the UK, I assume? Something must be blocking it on this side of the Atlantic (Calif. as I mentioned).
You may be running into the bloody "login to listen thing". As you say, everything is available via a web browser, e.g. Firefox, but even here in the UK I have to login to use catch-up - in short, everything that isn't live streaming of a download requires a login. This really pissed me off because it means that I can't use my Logitech Touch for catch-up - something I could do before BBC I-Player started to demand a login. [*]
The worst thing is that the Beeb have never attempted to explain why a login became necessary or what benefit they, or anybody else, gets from it. [*] is there a LMS plugin I've overlooked that can sidestep the login? I run LMS on my house server and primarily use the Touch to connect the LMS data stream to my good old Quad 33/303 stereo system and its pair of Celestion Ditton speakers.
On Sun, 26 May 2019 20:11:53 +0000 (UTC), snipped-for-privacy@GOODEVEca.net (Pete) declaimed the following:
I would suspect you have a firewall/proxy problem on your network end...
Last login: Sun May 26 12:49:06 2019 from 192.168.1.66 md_admin@microdiversity:~$ wget -O BBC2.mp3
formatting link
--2019-05-26 19:29:20--
formatting link
Resolving bbcmedia.ic.llnwd.net (bbcmedia.ic.llnwd.net)... 208.111.170.251,
208.111.170.250 Connecting to bbcmedia.ic.llnwd.net (bbcmedia.ic.llnwd.net)|208.111.170.251|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [audio/mpeg] Saving to: ?BBC2.mp3?
BBC2.mp3 [ ] 1.14M
15.7KB/s
That's on the RPi-3B that I currently have configured as personal web-server via a dynamic DNS service (having lost the four 10MB web-sites I'd had with Earthlink [one per discrete email address] when they did an audit -- I pay to maintain the email addresses, but no longer have them as my ISP; also had to pay for Giganews, as I lost the [grandfathered] Usenet service from Earthlink too).
What does traceroute do for you?
md_admin@microdiversity:~$ traceroute bbcmedia.ic.llnwd.net traceroute to bbcmedia.ic.llnwd.net (208.111.170.251), 30 hops max, 60 byte packets 1 dsldevice.attlocal.net (192.168.1.254) 0.832 ms 0.911 ms 1.014 ms 2 76-255-152-1.lightspeed.gdrpmi.sbcglobal.net (76.255.152.1) 22.485 ms
29.222 ms 35.125 ms 3 71.152.176.29 (71.152.176.29) 22.009 ms 22.521 ms 23.316 ms 4 cr2.cgcil.ip.att.net (12.123.7.142) 34.805 ms 34.729 ms 34.884 ms 5 gar26.cgcil.ip.att.net (12.122.99.93) 29.919 ms 30.907 ms 31.292 ms 6 12.244.54.202 (12.244.54.202) 32.301 ms 28.375 ms 28.773 ms 7 sc17.ord.llnw.net (208.111.170.251) 30.209 ms 22.605 ms 22.705 ms md_admin@microdiversity:~$
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.