Comment #4 posted on 2024-11-08 13:22:31 by Charles in NJ
Missed this show because feed is broken
I liked this show, but I almost missed it. My bashpodder-based podcast handler is no longer working for HPR. Instead of getting the current episodes, it downloads a file called "ccdn.php". This is not useful. If I can fix this, I may record a show to describe how I did it. But if it takes too much time or trouble, I may quietly fade away.
Sorry to put this in such stark terms, but I have a lot of things to juggle these days. Fussing over the HPR feed is not something I have time to do.
Comment #4 posted on 2024-11-08 13:22:31 by Charles in NJ
Missed this show because feed is broken
I liked this show, but I almost missed it. My bashpodder-based podcast handler is no longer working for HPR. Instead of getting the current episodes, it downloads a file called "ccdn.php". This is not useful. If I can fix this, I may record a show to describe how I did it. But if it takes too much time or trouble, I may quietly fade away.
Sorry to put this in such stark terms, but I have a lot of things to juggle these days. Fussing over the HPR feed is not something I have time to do.
Charles in NJ
https://hackerpublicradio.org/eps/hpr4244/index.html#comment_4110
The feed url https://hackerpublicradio.org/hpr_ogg_rss.php references
rss/channel/item/enclosure[@url='https://hub.hackerpublicradio.org/ccdn.php?filename=/eps/hpr4245/hpr4245.ogg' and @length='10468956' and @type='audio/ogg']
rss/channel/item/enclosure[@url='https://hub.hackerpublicradio.org/ccdn.php?filename=/eps/hpr4244/hpr4244.ogg' and @length='4650332' and @type='audio/ogg']
rss/channel/item/enclosure[@url='https://hub.hackerpublicradio.org/ccdn.php?filename=/eps/hpr4243/hpr4243.ogg' and @length='8227644' and @type='audio/ogg']
rss/channel/item/enclosure[@url='https://hub.hackerpublicradio.org/ccdn.php?filename=/eps/hpr4242/hpr4242.ogg' and @length='6486901' and @type='audio/ogg']
rss/channel/item/enclosure[@url='https://hub.hackerpublicradio.org/ccdn.php?filename=/eps/hpr4241/hpr4241.ogg' and @length='50556545' and @type='audio/ogg']
rss/channel/item/enclosure[@url='https://hub.hackerpublicradio.org/ccdn.php?filename=/eps/hpr4240/hpr4240.ogg' and @length='9631024' and @type='audio/ogg']
rss/channel/item/enclosure[@url='https://hub.hackerpublicradio.org/ccdn.php?filename=/eps/hpr4239/hpr4239.ogg' and @length='8142272' and @type='audio/ogg']
rss/channel/item/enclosure[@url='https://hub.hackerpublicradio.org/ccdn.php?filename=/eps/hpr4238/hpr4238.ogg' and @length='7893570' and @type='audio/ogg']
rss/channel/item/enclosure[@url='https://hub.hackerpublicradio.org/ccdn.php?filename=/eps/hpr4237/hpr4237.ogg' and @length='11726726' and @type='audio/ogg']
rss/channel/item/enclosure[@url='https://hub.hackerpublicradio.org/ccdn.php?filename=/eps/hpr4236/hpr4236.ogg' and @length='5513431' and @type='audio/ogg']
The HTTP 302 Found redirection response status code indicates that the requested resource has been temporarily moved to the URL in the Location header.
The CCDN server then returns the file with either a 200 or a 206
The HTTP 200 OK successful response status code indicates that a request has succeeded. A 200 OK response is cacheable by default.
The HTTP 206 Partial Content successful response status code is sent in response to a range request. The response body contains the requested ranges of data as specified in the Range header of the request.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Comment #4 posted on 2024-11-08 13:22:31 by Charles in NJ
Missed this show because feed is broken
I liked this show, but I almost missed it. My bashpodder-based podcast handler is no longer working for HPR. Instead of getting the current episodes, it downloads a file called "ccdn.php". This is not useful. If I can fix this, I may record a show to describe how I did it. But if it takes too much time or trouble, I may quietly fade away.
Sorry to put this in such stark terms, but I have a lot of things to juggle these days. Fussing over the HPR feed is not something I have time to do.
Charles in NJ
https://hackerpublicradio.org/eps/hpr4244/index.html#comment_4110
The logs show bashpodder clients getting a redirect and then appearing on the ccdn server
I have emailed Charles for more information
Attempted to reproduce without success
Steps to reproduce
touch podcast.logecho https://hackerpublicradio.org/hpr_ogg_rss.php > bp.conf./bashpodderExpected result
The files in the feed should be downloaded.
Actual result
The files in the feed are downloaded.
Feed enclosure
The feed url
https://hackerpublicradio.org/hpr_ogg_rss.phpreferencesFile resolving
Calling
https://hub.hackerpublicradio.org/ccdn.phpredirects with a 302File download
The CCDN server then returns the file with either a
200or a206Podcast check
A manual test using
mpv hpr*oggplays each without issue.Charles has a custom version of bashpodder and is troubleshooting the issue.
Confirmed working properly with both the "stock" version of Bashpodder and his revised version