Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


HPR Comments


Archer72 says: Not quite a complete script

RE: hpr4644::2026-05-21 Response to comments on HPR4424: Newsboat... by Archer72
00:07:08 Listen in ogg, opus, or mp3 format.
Ken,

I did some more testing, and the script is not quite ready and breaks on some renamed files, leaving i.e. hpr1234.ogg in Podboat

I'll try again.

Cheers,
Archer72

Archer72 says: Response to WhiskeyJack

RE: hpr4644::2026-05-21 Response to comments on HPR4424: Newsboat... by Archer72
00:07:08 Listen in ogg, opus, or mp3 format.
Hi,

I tend to go down rabbit holes, and this is one such time. After a quick response to أحمد المحمودي, I decided to try a 'fix'. This is further proof that I am not a programmer and should not be asking too many questions of AI. Still, it was a fun endeavor for me, and see it as useful to see where I went wrong.

Thank you for the constructive critique and hope to hear your next episode. :)

P.S. A useful reason to rename the episodes is a project I may talk about later when use Rockbox on an Ipod classic. A titled show as a file name is easier to see what I want to listen to than hpr1234.mp3.

Whiskeyjack says: Response to hpr4644

RE: hpr4644::2026-05-21 Response to comments on HPR4424: Newsboat... by Archer72
00:07:08 Listen in ogg, opus, or mp3 format.
I have been following this saga on downloaded podcast filenames and am still as confused now as ever when it comes to understanding what this is all about. I still don't understand why Newsboat needs to come into the picture.

I use a cron job to run a bash script to automatically download podcasts, including HPR. They just appear in a directory that I have set aside for holding new podcasts.

While some podcasts have rubbish audio file names in their RSS feed that have to be fixed, HPR isn't one of them. Their URL is just fine.

What you need to do is to extract the audio file name from the RSS feed using something like basename, and then specify that name to wget using the -O option for output file name. This results in a file with a name such as "hpr4644.mp3" being saved. No after the fact file renaming is necessary.


I'll do an episode on a simplified version of what I use that just does HPR podcasts.The next slot I can use is in July, so I will plan to have it for then.

Mastodon Comments



More Information...


Copyright Information

Unless otherwise stated, our shows are released under a Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) license.

The HPR Website Design is released to the Public Domain.