Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes every weekday Monday through Friday.
This page was generated by The HPR Robot at


hpr1935 :: Quick Bashpodder Fix

Charles in NJ returns with a short show to discuss a fix he made to Bashpodder.

<< First, < Previous, , Latest >>

Thumbnail of Charles in NJ
Hosted by Charles in NJ on 2016-01-01 is flagged as Explicit and is released under a CC-BY-SA license.
Bashpodder, podcast, bash, awk. (Be the first).
The show is available on the Internet Archive at: https://archive.org/details/hpr1935

Listen in ogg, spx, or mp3 format. Play now:

Duration: 00:09:38

general.

Bashpodder is a great Bash script for downloading the latest episodes of podcasts and other media from their feeds.

There are a few feeds that are not handled properly by Bashpodder, namely, the TED Talks podcast feed and the NPR digest show called the TED Radio Hour.

The URLs for the audio files have a number of additional fields at the end of the string after the media file name, and Bashpodder picks up the last field as if it were the media file name for the show. So every TED Radio Hour episode is called "510298". If you download more than one episode at a time, only the last episode to be saved will survive. Each new file clobbers the last one, because they all get the same filename.

Charles in NJ made a simple fix to Bashpodder.shell to correct this problem, and he shares it in this episode.

Links:

Additional Resources:

  1. Original version of Bashpodder.shell
    https://hackerpublicradio.org/eps/hpr1935-bashpodder_original.shell
  2. Revised version with fixes to pick up TED-related podcast files
    https://hackerpublicradio.org/eps/hpr1935-bashpodder.shell
  3. Abbreviated example of bp.conf configuration file that tells Bashpodder what resources to fetch
    https://hackerpublicradio.org/eps/hpr1935-bp.conf
  4. Abbreviated example of podcast.log that shows how Bashpodder stores its history, including some sample TED links.
    https://hackerpublicradio.org/eps/hpr1935-podcast.log

Happy New Year from Charles in NJ.


Comments

Subscribe to the comments RSS feed.

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the letter P in HPR stand for?
Are you a spammer?
What is the HOST_ID for the host of this show?
What does HPR mean to you?