BBC Radio on omxplayer

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.)
Any expertise appreciated.
-- Pete --
Reply to
Pete
Loading thread data ...
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?
[Guess I'll stick with Radio Caroline... (:-/)]
-- Pete --
Reply to
Pete
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
Reply to
Dennis Lee Bieber
# edit and order this list for preferences. Classic FM:
formatting link
# National stations BBC Radio 1:
formatting link
BBC Radio 1xtra:
formatting link
BBC Radio 2:
formatting link
BBC Radio 3:
formatting link
BBC Radio 4FM:
formatting link
BBC Radio 4LW:
formatting link
BBC Radio 4 Extra:
formatting link
BBC Radio 5 Live:
formatting link
BBC Radio 5 Live Sportsball Extra:
formatting link
BBC Radio 6 Music:
formatting link
BBC Asian Network:
formatting link
BBC World Service UK stream:
formatting link
BBC World Service News stream:
formatting link
# # Nations and regions # Radio Cymru:
formatting link
BBC Radio Foyle:
formatting link

formatting link
BBC Radio Scotland:
formatting link
BBC Radio Ulster:
formatting link
BBC Radio Wales :
formatting link
# #Local radio (all broadcasting exactly the same programme as I compiled this!) # BBC Radio Berkshire:
formatting link
BBC Radio Bristol:
formatting link
BBC Radio Cambridgeshire:
formatting link
BBC Radio Cornwall:
formatting link
BBC Coventry & Warwickshire:
formatting link
BBC Radio Cumbria:
formatting link
BBC Radio Derby:
formatting link
BBC Radio Devon :
formatting link
BBC Essex:
formatting link
BBC Radio Gloucestershire:
formatting link
BBC Radio Guernsey:
formatting link
BBC Hereford & Worcester:
formatting link
BBC Radio Humberside:
formatting link
BBC Radio Jersey:
formatting link
BBC Radio Kent:
formatting link
BBC Radio Lancashire:
formatting link
BBC Radio Leeds:
formatting link
BBC Radio Leicester:
formatting link
BBC Radio Lincolnshire:
formatting link
BBC Radio London:
formatting link
BBC Radio Manchester:
formatting link
BBC Radio Merseyside:
formatting link
BBC Newcastle:
formatting link
BBC Radio Norfolk:
formatting link
BBC Radio Northampton:
formatting link
BBC Radio Nottingham:
formatting link
BBC Radio Oxford:
formatting link
BBC Radio Sheffield:
formatting link
BBC Radio Shropshire:
formatting link
BBC Radio Solent:
formatting link
BBC Somerset:
formatting link
BBC Radio Stoke:
formatting link
BBC Radio Suffolk:
formatting link
BBC Surrey:
formatting link
BBC Sussex:
formatting link
BBC Tees:
formatting link
BBC Three Counties Radio:
formatting link
BBC Wiltshire:
formatting link
BBC WM 95.6:
formatting link
BBC Radio York:
formatting link
* * ABSOLUTE RADIO - use -@ with these. and mpg * Absolute Radio:
formatting link
Absolute Classic Rock:
formatting link
Absolute Radio 80s:
formatting link
Absolute Radio 60s:
formatting link
Absolute Radio 70s:
formatting link
Absolute Radio 90s:
formatting link
Absolute Radio 00s:
formatting link
--
"When a true genius appears in the world, you may know him by this sign,  
that the dunces are all in confederacy against him." 
 Click to see the full signature
Reply to
The Natural Philosopher
Pete wrote, on 24-05-2019 23:44:
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:
formatting link
Reply to
A. Dumas
Very similar to me.
Except I use mpg123...and PHP and C code ! :-)
--
There?s a mighty big difference between good, sound reasons and reasons  
that sound good. 
 Click to see the full signature
Reply to
The Natural Philosopher
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.
Reply to
A. Dumas
Thanks for this list, very useful.
--

Chris Elvidge, England
Reply to
Chris Elvidge
Thanks to both of you for those lists.
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.
Thanks,
-- Pete --
Reply to
Pete
I checked all of them just before I posted and they worked for me, with mpd, in the Netherlands.
Reply to
A. Dumas
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? (:-/)
Thanks,
-- Pete --
Reply to
Pete
Does: wget -O BBC2.mp3
formatting link
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).
--
__          __ 
#_ < |\| |< _#
Reply to
Computer Nerd Kev
$ mpg123 -@
formatting link
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.
Reply to
The Natural Philosopher
I get:
$ mpg123 -@
formatting link
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).
Thanks, anyway.
-- Pete --
Reply to
Pete
Nope. That gives me a "404: File Not Found", too.
Yeah -- sample rate shouldn't be a problem.
Thanks.
-- Pete --
Reply to
Pete
An interesting, but probably useless, datapoint, is that I can ping bbcmedia.ic.llnwd.net without problem, so I'm not totally blocked. I can't open
formatting link
itself ("source could not be found"), but that's probably expected.
-- Pete --
Reply to
Pete
The BBC is only free for UK residents. Try BBC Worldwide
Reply to
ken young
Not true, actually. Only TV is restricted. BBC radio has been freely available here. It still is via Firefox. It's only on the Pi that I've lost it.
-- Pete --
Reply to
Pete
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.
--
Martin    | martin at 
Gregorie  | gregorie dot org
Reply to
Martin Gregorie
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
Reply to
Dennis Lee Bieber

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.