GoldenPod
GoldenPod is a podcast client written in perl by yours truly. It is backwards compatible with bashpodder and thus in theory all GUI’s written for bashpodder should work with goldenpod. In addition to simply downloading podcasts into directories named by date you also get podcasts sorted in a catalogue directory by the name of the podcast (as supplied in the RSS feed or if that is not available, goldenpod will make a guess based upon the filename) which makes it easier to locate older issues of a specific podcast.
GoldenPod also makes it easier to manage your podcasts and is portable music player friendly. It has a function that can copy N of the newest podcasts to the supplied directory. Example:
goldenpod --files 4 --copy /mnt/removable/podcasts/
will copy the 4 newest podcasts to /mnt/removable/podcasts/. As 4 is the default it is the same as
goldenpod --copy /mnt/removable/podcasts/
Along the same lines it can delete the N oldest podcasts. Example:
goldenpod --files 4 --rmold
As with –copy, 4 is the default. So the above example is the same as:
goldenpod --rmold.
Another nifty feature is that you can ignore a perl regular expression pattern when downloading, copying or deleting podcasts. This can also be set in the configuration file to ignore by default (however, the setting in the config file does not apply to –rmold, the commandline option does). Example:
goldenpod --ignore-pattern '(foo|bar|baz)'
This will download all podcasts other than those matching the regular expression (foo|bar|baz), that is, all files that does not have either foo, bar or baz in their name.
For more information about goldenpod you can download it and read the readme and manpage.
You can download it both in tar.gz and tar.bz2 from http://savannah.nongnu.org/download/goldenpod/.
The latest release when I’m writing this is 0.4.
Please post supports requests at https://savannah.nongnu.org/support/?group=goldenpod and not here. Easier to manage them at savannah.
October 12th, 2005 at 16:52
BashPodder alternativ
GoldenPod er en ny kommandolinje “podcatcher” alternativ til BashPodder.
Mange av oss *nix nerder digger jo når vi kan gjøre ting via kommandolinje uten bruk av noe GUI. Podcasting er ikke noe unntak, det finnes flere alternativer for “podcatch…
January 28th, 2006 at 16:38
I like it a lot, Thank you! But where is the DOCUMENTATION!!!??? What I see doesn’t appear complete. For example, goldenpod seems to be making at least 2 copies of every podcast download and is killing my hard drive. It is making a folder for each day and putting the podcasts into it, PLUS it is making a podcast folder for each podcast in which it keeps a separate copy for those. Where is the option to choose one or the other or both? Can you specify that in the conf and if so how? If yo ucan’t it seems to me that’s a major flaw. Should be an option also to in the conf file how many days you want to keep the old podcasts around (I realize that can be done on the command line but would be nice if it was in the conf file also). Should also be an option to delete all the older dated folders also.
January 28th, 2006 at 16:44
It keeps only one copy, the second one is a symlink to the other one. The docs are available in manpage format. Join the IRC channel #goldenfiles on irc.freenode.net for live help or report bugs at http://goldenpod.nongnu.org/
January 28th, 2006 at 17:02
Wow - quick response. Ok but it is not showing as a symlink and in SAMBA windows seems to be counting it twice (maybe I’m wrong on that but it does look like it’s killing my drive). Anyway my solution to the old mp3’s is just to run the following as a part of a cron script like the following (removes mp3’s older than 3 days and deletes empty directories):
#remove old golden pods
find “$PODCAST_DIR\Goldenpod” -maxdepth 1 -regex .*mp3 -type f -mtime +3 -exec rm {} -f \;
#remove empty directories
find “$PODCAST_DIR\Goldenpod” find . * -exec rmdir –ignore-fail-on-non-empty {} * \;
January 28th, 2006 at 17:04
Sorry, second line had a typo - it should read:
#remove empty directories
find “$PODCAST_DIR\Goldenpod” * -exec rmdir –ignore-fail-on-non-empty {} * \;
January 28th, 2006 at 17:29
Sorry - I’m hopelessly incompetent. The first command should be recursive rather than limited to a depth of 1 and the esecond command I had another typo in it (a stray asterisk). As corrected, the commands should read as follows:
#remove old golden pods
find “$PODCAST_DIR\Goldenpod” -regex .*mp3 -type f -mtime +3 -exec rm {} -f \;
#remove empty directories
find “$PODCAST_DIR\Goldenpod” -type d -exec rmdir –ignore-fail-on-non-empty {} * \;
I tested them and they work - failed to do that properly last time.
January 28th, 2006 at 17:40
last line - shouldn’t be an asterisk on the end. (Last comment. I swear!). Thank God these things are modereated.
January 28th, 2006 at 18:30
Remember, Windows doesn’t know what symlinks are so smb shares them as real files not symlinks.
February 7th, 2006 at 16:49
I’m feeling REALLY foolish. I’ve read the man page over and over…goldenpod.conf should be self explanatory…
I’ve missed something, there is no sample in the tar ball and I haven’t found an example by googling it. I’m sorry to be so ignorant but could you please tell me what that file should look like? Thanks for your effort!
February 7th, 2006 at 17:04
Please post support requests at https://savannah.nongnu.org/support/?group=goldenpod
goldenpod.conf should be autogenerated by goldenpod and placed at ~/.goldenpod/goldenpod.conf
The default looks like this:
# GoldenPod configuration file
# Do NOT put podcast feed URLs in this file! Put them in podcasts.conf
# The directory the podcasts will be downloaded to
# This is only used if there is no ./podcasts.conf or ./bp.conf
# If one those are present WorkingDir will be ./
$WorkingDir = “/home/zerodogg/Podcasts”;
# The default verbosity, anything other than 0 means verbose
$DefaultVerbosity = “1″;
# Set this to a regular expression you want goldenpod to ignore when downloading
# or copying podcasts. –ignore-pattern overrides this and –rmold only obeys –ignore-pattern, not this configuration setting.
$IgnorePattern = “”;
# Set this to 1 if you want GoldenPod only to download audio feeds
$PodcastFilter = “0″;
February 7th, 2006 at 17:20
Thanks for responding so promptly! …and I’ve noted your request concerning where to go for help next time. I certainly appreciate your effort. :)
December 20th, 2007 at 12:10
Hi
Just started to use Goldenpod, I am having trouble trying to integrate it with cron.
my cron tab entry for goldenpod is :
04 3,11 * * * root goldenpod -f
(which is just really a test, as I was wanting it to run at 11:04 (and then again at 03:04)
the mail log for the entry stated that the download failed, and that Curl exited with return value 6. What does this mean? What am I doing wrong?