PDA

View Full Version : Podcast App



Oliverjames
2018-06-11, 04:51
Hello, for the past week or so I've been unable to stream podcasts via the Squeezebox Podcasts App. Can anyone shed light on this? For info I can still listen to podcasts via the Tunein radio app.

Oliverjames

mherger
2018-06-11, 06:56
> Hello, for the past week or so I've been unable to stream podcasts via
> the Squeezebox Podcasts App.

How does it fail?

--

Michael

Oliverjames
2018-06-11, 23:54
> Hello, for the past week or so I've been unable to stream podcasts via
> the Squeezebox Podcasts App.

How does it fail?

--

Michael

Firstly it appears to be an issue with the BBC podcasts, World Service and Radio 4. When the Squeezebox Radio or Slim Devices unit tries to access them it fails with the message HTTP/1.1403 Forbidden.

I note that some BBC podcast streams will play eg. http://downloads.bbc.co.uk/podcasts/radio4/infoage/rss.xml and http://downloads.bbc.co.uk/podcasts/radio4/infoage/rss.xml, as well as the Guardian UK podcasts such as http://www.guardian.co.uk/books/series/short-stories-podcast/po as will some others such as http://historyofenglishpodcast.com/feed/podcast/ ,http://www.rts.ch/la-1ere/programmes/on-en-parle/podcast/?flux=rss

Here is an example of those podcasts that won't stream (the majority of my usual BBC streams) : http://podcasts.files.bbci.co.uk/b00snr0w.rss , http://www.bbc.co.uk/programmes/p029399x/episodes/download , http://www.bbc.co.uk/programmes/p028z2z0/episodes/downloads , http://downloads.bbc.co.uk/podcasts/radio4/moreorless/rss.xml ,

I note that I cannot stream BBC podcast via the Tunein App. Others such as Guardian short stories will stream.

Man in a van
2018-06-12, 00:11
I popped this link into a web browser to get the program link

http://www.bbc.co.uk/programmes/p028z2z0/episodes/downloads

Scrolled through the pathway on a Boom and it's playing now


25166

Ronnie

bpa
2018-06-12, 00:51
Some BBC podcasts are UK only so it can be confusing.

If you look at the BBC Website https://www.bbc.co.uk/podcasts/radio3 - you can see the podcast marked as "UK only" in Top Right of each panel.

I'm not sure about podcasts and mysqueezebox.,com but since mysqueezebox.com hosts are not in the UK - it could affect playback of UK only podcasts.

bpa
2018-06-12, 01:08
There is somehting odd the way some of the BBC R4 Infoage podcasts are setup.

using Wget to download - shows lots of redirection - not the usual simple mp3 file.

A test of one program in the series - URL http://open.live.bbc.co.uk/mediaselector/5/redir/version/2.0/mediaset/audio-nondrm-download/proto/http/vpid/p02qjmrr.mp3

Fails to play with mplayer.

The program will play OK with VLC but again with lots of redirection to flex.acast.com and stitcher.acast.com


connmgr debug: outgoing request: GET /mediaselector/5/redir/version/2.0/mediaset/audio-nondrm-download/proto/http/vpid/p02qjmrr.mp3 HTTP/1.1 Host: open.live.bbc.co.uk Accept: */* Accept-Language: en_GB User-Agent: VLC/3.0.0-git LibVLC/3.0.0-git Range: bytes=0-
connmgr debug: incoming response: HTTP/1.1 302 Found Server: nginx Date: Tue, 12 Jun 2018 08:07:01 GMT Content-Type: text/html Content-Length: 580 Connection: keep-alive Location: http://flex.acast.com/ak/mpg_mp3_med/podcast_migrated/p02qjmrr-infoage_20141023-1400a.mp3?__gda__=1528812224_9ea6f8cca32591c321d3d 3f00fbade44 X-MS-Disclaimer: This code and data form part of the BBC iPlayer content protection system. Tampering with, removal of, misuse of, or unauthorised use of this code or data constitutes circumvention of the BBC's content protection measures and may result in legal action. BBC (C) 2017. cache-control: private, s-maxage=300, max-age=900 X-RequestId: 8b433e26-95bb-4f40-be55-698c8c626d68 Strict-Transport-Security: max-age=0
core debug: no access modules matched
core debug: redirecting to: http://flex.acast.com/ak/mpg_mp3_med/podcast_migrated/p02qjmrr-infoage_20141023-1400a.mp3?__gda__=1528812224_9ea6f8cca32591c321d3d 3f00fbade44
core debug: creating access: http://flex.acast.com/ak/mpg_mp3_med/podcast_migrated/p02qjmrr-infoage_20141023-1400a.mp3?__gda__=1528812224_9ea6f8cca32591c321d3d 3f00fbade44
core debug: looking for access module matching "http": 27 candidates
connmgr debug: resolving flex.acast.com ...
connmgr debug: outgoing request: GET /ak/mpg_mp3_med/podcast_migrated/p02qjmrr-infoage_20141023-1400a.mp3?__gda__=1528812224_9ea6f8cca32591c321d3d 3f00fbade44 HTTP/1.1 Host: flex.acast.com Accept: */* Accept-Language: en_GB User-Agent: VLC/3.0.0-git LibVLC/3.0.0-git Cookie: TiPMix=3.17226280605992; ARRAffinity=2595963d4d295a66268f0ba26e2497a8541a50 ee57ab34a86c1c6abde60108cb Range: bytes=0-
connmgr debug: incoming response: HTTP/1.1 302 Found Cache-Control: max-age=60 Content-Length: 201 Content-Type: text/html; charset=utf-8 Location: http://media.acast.com/hidden-histories-of-the-information-age/leo-computer/media.mp3 Server: Microsoft-IIS/10.0 X-Powered-By: ASP.NET Date: Tue, 12 Jun 2018 08:07:01 GMT
core debug: no access modules matched
core debug: redirecting to: http://media.acast.com/hidden-histories-of-the-information-age/leo-computer/media.mp3
core debug: creating access: http://media.acast.com/hidden-histories-of-the-information-age/leo-computer/media.mp3
core debug: looking for access module matching "http": 27 candidates
connmgr debug: resolving media.acast.com ...
connmgr debug: outgoing request: GET /hidden-histories-of-the-information-age/leo-computer/media.mp3 HTTP/1.1 Host: media.acast.com Accept: */* Accept-Language: en_GB User-Agent: VLC/3.0.0-git LibVLC/3.0.0-git Cookie: media-RO=42812cc1a2f28ea5804f46b8f8212492 Range: bytes=0-
connmgr debug: incoming response: HTTP/1.1 302 Found X-Powered-By: Express X-Request-Id: 95f4c630-6e17-11e8-baa1-d96e6d04db94 Access-Control-Allow-Origin: * Cache-Control: no-cache, no-store, must-revalidate Location: https://stitcher.acast.com/livestitches/670254d5-2f9e-4788-aec6-9bcc9334e1dd/HM6GI0j-9GPUaI1CrSpCDg.mp3?aid=670254d5-2f9e-4788-aec6-9bcc9334e1dd&chid=8d54da3c-d76d-4b48-a10f-4a3b74b175cd&ci=7055d5a7-27ef-4020-ba1b-58f032c1ef15&range=0-&Expires=1528806122&Signature=OFm5RPbFV2wkhJBrMxcf8L1TB59zQSsyjCrFt9BA B7yO9PVJO3Mw1XuMOmXewFEkwRsxfEIJkBqz6-P6JFbFJ7HGZubikBMhVYhRB3UAGe7w9JAcqvVU5uhbxddR8rA3 IsCmMeZlBt3LcynvfET556DRsJ-6n2xnBXs4-YmolQMscYDSk9xmYRPh2TYu1%7E8LO1KihU054XeC6XdvbQGvs P1rSUzETw3IiNfSeLZU2HSckzAEBkmcay%7EwLDrVTJKi97mvt EfspU67CCp-is3UnQv%7EzeOVtaZnM40kM98JVDtr99Tyr4unX6ZssgqZLk3g hhqnv3pUNI07UX0UEsvH3Q__&Key-Pair-Id=APKAJXAFARUOTJQ3BLOQ Vary: Accept Content-Type: text/plain; charset=utf-8 Content-Length: 670 Date: Tue, 12 Jun 2018 08:07:01 GMT Connection: close
core debug: no access modules matched
core debug: redirecting to: https://stitcher.acast.com/livestitches/670254d5-2f9e-4788-aec6-9bcc9334e1dd/HM6GI0j-9GPUaI1CrSpCDg.mp3?aid=670254d5-2f9e-4788-aec6-9bcc9334e1dd&chid=8d54da3c-d76d-4b48-a10f-4a3b74b175cd&ci=7055d5a7-27ef-4020-ba1b-58f032c1ef15&range=0-&Expires=1528806122&Signature=OFm5RPbFV2wkhJBrMxcf8L1TB59zQSsyjCrFt9BA B7yO9PVJO3Mw1XuMOmXewFEkwRsxfEIJkBqz6-P6JFbFJ7HGZubikBMhVYhRB3UAGe7w9JAcqvVU5uhbxddR8rA3 IsCmMeZlBt3LcynvfET556DRsJ-6n2xnBXs4-YmolQMscYDSk9xmYRPh2TYu1%7E8LO1KihU054XeC6XdvbQGvs P1rSUzETw3IiNfSeLZU2HSckzAEBkmcay%7EwLDrVTJKi97mvt EfspU67CCp-is3UnQv%7EzeOVtaZnM40kM98JVDtr99Tyr4unX6ZssgqZLk3g hhqnv3pUNI07UX0UEsvH3Q__&Key-Pair-Id=APKAJXAFARUOTJQ3BLOQ
core debug: creating access: https://stitcher.acast.com/livestitches/670254d5-2f9e-4788-aec6-9bcc9334e1dd/HM6GI0j-9GPUaI1CrSpCDg.mp3?aid=670254d5-2f9e-4788-aec6-9bcc9334e1dd&chid=8d54da3c-d76d-4b48-a10f-4a3b74b175cd&ci=7055d5a7-27ef-4020-ba1b-58f032c1ef15&range=0-&Expires=1528806122&Signature=OFm5RPbFV2wkhJBrMxcf8L1TB59zQSsyjCrFt9BA B7yO9PVJO3Mw1XuMOmXewFEkwRsxfEIJkBqz6-P6JFbFJ7HGZubikBMhVYhRB3UAGe7w9JAcqvVU5uhbxddR8rA3 IsCmMeZlBt3LcynvfET556DRsJ-6n2xnBXs4-YmolQMscYDSk9xmYRPh2TYu1%7E8LO1KihU054XeC6XdvbQGvs P1rSUzETw3IiNfSeLZU2HSckzAEBkmcay%7EwLDrVTJKi97mvt EfspU67CCp-is3UnQv%7EzeOVtaZnM40kM98JVDtr99Tyr4unX6ZssgqZLk3g hhqnv3pUNI07UX0UEsvH3Q__&Key-Pair-Id=APKAJXAFARUOTJQ3BLOQ
core debug: looking for access module matching "https": 27 candidates

Paul Webster
2018-06-12, 01:27
FYI - playing that Leo Computer episode from UK IP address works fine for me using mplayer.
So maybe there is something strange about what it redirects to when accessing from outside UK.

bpa
2018-06-12, 01:36
FYI - playing that Leo Computer episode from UK IP address works fine for me using mplayer.
So maybe there is something strange about what it redirects to when accessing from outside UK.

my version of mplayer maybe a bit old (1.2.1 2016) but that would just confirm that it is a "new" issue.

For BBCiPlayer I had to implement my own handling of redirects in order to play DASH streams. So I think LMS handling of 302 for podcast may need to be checked. However there maybe something else since BBC looks like they have outsourced podcasts to acast.com

BTW.
The R4 program are all playable via the BBCiPlayerExtra plugin.

Paul Webster
2018-06-12, 02:19
My MPlayer quite a lot older!
MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team

When playing from UK it looks like it does not go to acast
It grabbed it from
aod-pod-uk-live.bbcfmt.hs.llnwd.net (Limelight Networks)

Acast drops adverts along with podcasts so perhaps that is the reason that BBC use it for connections from outside UK.

... quick search ... aha!
https://techcrunch.com/2018/05/01/bbc-acast/



“Podcasts are one way we’re reinventing BBC radio to engage younger audiences with our world class content,” said Bob Shennan, director of BBC Radio and Music, in the announcement. “We’re working with established and new talent to produce shows which are informative and entertaining as only the BBC can be. The BBC has been challenged to generate more commercial income to supplement the licence fee and this new deal will contribute to that.”

To be clear, the BBC will remain ad-free in the United Kingdom, where it’s supported by the aforementioned license fee. Adams said one of the things Acast could offer was the ability to make sure ads were only served outside the U.K. (and to account for edge cases like U.K. military bases in other countries).

Adams said Acast will also be providing the BBC with new data about how the podcasts are performing.

“We give them the data and the dashboard to start really doubling down and focusing on podcasting as a medium,” he said.

According the announcement, this will apply to all BBC podcasts outside the U.K. (subject to rights restrictions), including Global News, The Assassination, World Business Report and Radio 4’s In Our Time. Most podcasts will have a single 30-second ad at the beginning, then another at the end.

bpa
2018-06-12, 02:24
LMS looks like it get redirect OK but then has a problem. Need to check if this is first redirect - acast does about 3.



[18-06-12 10:20:40.3651] Slim::Web::XMLBrowser::handleFeed (522) Fetching OPML from:http://downloads.bbc.co.uk/podcasts/radio4/infoage/rss.xml
[18-06-12 10:20:40.3653] Slim::Formats::XML::getFeedAsync (132) Async request: http://downloads.bbc.co.uk/podcasts/radio4/infoage/rss.xml
[18-06-12 10:20:41.0948] Slim::Formats::XML::gotViaHTTP (222) Parsing with parser Slim::Plugin::Podcast::Parser
[18-06-12 10:20:41.0993] Slim::Web::XMLBrowser::handleFeed (630) Playing/adding http://open.live.bbc.co.uk/mediaselector/5/redir/version/2.0/mediaset/audio-nondrm-download/proto/http/vpid/p02qjmrr.mp3
[18-06-12 10:20:41.1030] Slim::Web::Template::NoWeb::_generateContentFromFi le (67) generating from xmlbrowser_redirect.html with type: fill
[18-06-12 10:20:41.1031] Slim::Web::Template::NoWeb::fixHttpPath (190) Found path /mnt/hddrive/home/xxxx14.04/repos/7.9/latest/trunk/HTML/Default/xmlbrowser_redirect.html
[18-06-12 10:20:41.1131] Slim::Web::HTTP::processHTTP (348) HTTP request: from 127.0.0.1:33600 (Slim::Web::HTTP::ClientConn=GLOB(0x9af3510)) for POST HTTP/1.1 /jsonrpc.js
[18-06-12 10:20:41.1654] Slim::Web::HTTP::processHTTP (348) HTTP request: from 127.0.0.1:33600 (Slim::Web::HTTP::ClientConn=GLOB(0x9af3510)) for GET HTTP/1.1 /playlist.html?ajaxRequest=1&player=00:04:20:16:07:0e&uid=1528795241000
[18-06-12 10:20:41.1663] Slim::Web::HTTP::processURL (754) processURL Clients: 192.168.1.69:32853 192.168.1.60:20976
[18-06-12 10:20:41.1666] Slim::Web::HTTP::generateHTTPResponse (996) Generating response for (htm, text/html) playlist.html
[18-06-12 10:20:41.1668] Slim::Web::Template::NoWeb::_generateContentFromFi le (67) generating from include.html with type: fill
[18-06-12 10:20:41.1670] Slim::Web::Template::NoWeb::fixHttpPath (190) Found path /mnt/hddrive/home/xxxx14.04/repos/7.9/latest/trunk/HTML/EN/include.html
[18-06-12 10:20:41.1699] Slim::Web::Template::NoWeb::_generateContentFromFi le (67) generating from playlist.html with type: fill
[18-06-12 10:20:41.1700] Slim::Web::Template::NoWeb::fixHttpPath (190) Found path /mnt/hddrive/home/xxxx14.04/repos/7.9/latest/trunk/HTML/Default/playlist.html
[18-06-12 10:20:42.7514] Slim::Player::Song::open (471) Warning: stream failed to open [https://stitcher.acast.com/livestitches/670254d5-2f9e-4788-aec6-9bcc9334e1dd/HM6GI0j-9GPUaI1CrSpCDg.mp3?aid=670254d5-2f9e-4788-aec6-9bcc9334e1dd&chid=8d54da3c-d76d-4b48-a10f-4a3b74b175cd&ci=129786c3-8448-40ad-8dec-0b9e559a6a5a&Expires=1528810542&Signature=rhqcIW8vEPewCNRKW-tBHCBE08TFQoU79XrymWiBXklXl1GYuOdg3TtsNXAo77Tlt9pR Lp0EeZyG8zhR3rCtONSAU3dEYM6Fgctnl1PeyxDil2tZaBZ8Ae 2JauCRT1S5c138IebTnHaN0eFD-C~9fzeWKXGXcbkr5y1qgdG~ZOT3x-dVC3ymtAX4ttGgxuCrMbSOi2y1ItOP3xO2Ynv~U-tZcB9QeN56mMiZrfmCyXjaoZUOPyiiHAN7cyozbVNG6YaS-ThKsY0FOgqelYYAZ1TfUXJlx-j-xJzezBk1Sz6ceg6mSqix7gSCHwfV2GOnvOqV6kgIIs5uXo-1iJJEeg__&Key-Pair-Id=APKAJXAFARUOTJQ3BLOQ].
[18-06-12 10:20:44.4179] Slim::Web::HTTP::processHTTP (348) HTTP request: from 127.0.0.1:33600 (Slim::Web::HTTP::ClientConn=GLOB(0x9af3510)) for POST HTTP/1.1 /jsonrpc.js


edit:

If BBC are using acast for non UK listeners then summary might be
1. UK user should have no problem if using local LMS
2. UK users using mysqueezebox.com and non UK users may have a problem.

edit2:

The failure looks like LMS is trying to use Slim::Player::Protocols::HTTP handler for a https stream. I don't know how https is actually handled so this may be "normal".

Man in a van
2018-06-12, 03:07
Leo Computer plays fine for me too.

The navigation on the boom works without a snag, if I use the LMS web GUI and click on the program link I get


404 Not Found:

There is no "http:" skin, try http://192.168.1.***:9000 instead.

but the play button works fine.

25167


Changed the Boom to MySqueezebox.com and navigated to the same program and got



HTTP/1.1403 Forbidden


I used the web gui and also got no sound

25168

ronnnie

Oliverjames
2018-06-13, 00:48
> Hello, for the past week or so I've been unable to stream podcasts via
> the Squeezebox Podcasts App.

How does it fail?

--

Michael

Further to my previous answer, and in acknowledgement of the interesting posts by other members, I should add that I have no problem listening to these streams / podcasts via a computer from my location in France (Geneva border).

For about 5 days before this general failure to be able te receive BBC podcast/streams via my Squeezebox units the podcasts were all prefaced by an announcement that BBC podcasts were subject to publicity outside the UK. I never heard any actual adverts and I guess that now the introduction of them has broken the Squeezebox App. Anyway that all fits with the Techcrunch link posted by Paul Webster.

I note that the BBC podcast URL strings have changed, however updating them and rebooting the Squeezebox units still doesn't allow the podcast to be streamed.

bpa
2018-06-13, 01:41
I think the issue is related to BBC use of using acast for ads but also to do with http vs https (especially as this issue seems to happen with non BBC sources as well).

As I stated previously mplayer does not play the R3 infoage url when the "http" URL is used but there is an alternative "https" url.

To test - I checked playing the infoage URLs
http://open.live.bbc.co.uk/mediaselector/5/redir/version/2.0/mediaset/audio-nondrm-download/proto/http/vpid/p02qjmrr.mp3
https://open.live.bbc.co.uk/mediaselector/5/redir/version/2.0/mediaset/audio-nondrm-download/proto/http/vpid/p02qjmrr.mp3

only difference is the http vs https.

The test tries to play the URL on mplayer and LMS "Tune-in":
The BBC http url redirects to a acast https URL and this seems to break LMS and mplayer and is not played
When the BBC https url is used and redirect to the same acast https URL as above - both LMS and mplayer plays the stream OK.

The problem lies with mixing url types - a http url redirected to a https url seems to fail.

bpa
2018-06-19, 01:33
An update to LMS as been made by Michael and it has fixed the BBC podcast issue for me - OP should update LMS and see if problem is also fixed.

Oliverjames
2018-06-20, 00:41
An update to LMS as been made by Michael and it has fixed the BBC podcast issue for me - OP should update LMS and see if problem is also fixed.

I'm using Mysqueezebox.com, not LMS, so no change for me. The only podcasts I can stream are "The Guardian Long Read", a couple of American ones, and strangely, the BBC's "Soul Music" and "Radio 4 on music".

mherger
2018-06-20, 00:46
> I'm using Mysqueezebox.com, not LMS, so no change for me. The only
> podcasts I can stream are "The Guardian Long Read", a couple of American
> ones, and strangely, the BBC's "Soul Music" and "Radio 4 on music".

You can't stream anything which requires https from mysb.com. You'd have
to run LMS.

--

Michael

Oliverjames
2018-06-21, 05:12
> I'm using Mysqueezebox.com, not LMS, so no change for me. The only
> podcasts I can stream are "The Guardian Long Read", a couple of American
> ones, and strangely, the BBC's "Soul Music" and "Radio 4 on music".

You can't stream anything which requires https from mysb.com. You'd have
to run LMS.

--

Michael

Ah well, it was good while it lasted. As per my FB comment I don't want to run an additional machine for this. I imagine that there is insufficient resource available within the Squeezebox devices to run LMS?

mherger
2018-06-21, 06:01
> Ah well, it was good while it lasted. As per my FB comment I don't want
> to run an additional machine for this. I imagine that there is
> insufficient resource available within the Squeezebox devices to run
> LMS?

Yes. While there has been an effort to put LMS on the Touch, it's a hassle.

But really: running a Pi zero will eat less power than the SB itself.

--

Michael

pippin
2018-06-21, 06:55
And probably less power than your MySB instance, too :)

Oliverjames
2018-06-29, 23:13
This morning I chanced to try streaming one of the recently unreachable BBC podcasts; to my surprise I can once again listen to all of them. And although adverts are mentioned I don't hear them.

Man in a van
2018-06-30, 00:48
I used the web gui and also got no sound

25168

ronnnie

Thanks for that. I have just checked, using mysqueezeboxdotcom and the previous non-playing programe (although I'm in the UK) now also works.

That's good to know:)

ronnie

bpa
2018-06-30, 03:00
Previously a http URL would redirect to a acast.com https URL - which was a bit odd and broke players on mysq. The http redirection now redirects to a http acast.com URL - which would be "normal" and allows player on mysq.com.

Use of acast.com means ads will still be probable for non uk and mysq users.

It looks like somebody complained to BBC and they fixed it.