|thufir 2d9ecc2856 new release||7 months ago|
|images||9 months ago|
|project||9 months ago|
|releases||7 months ago|
|src/main/scala/podagg||7 months ago|
|.gitignore||9 months ago|
|LICENSE||9 months ago|
|README.md||7 months ago|
|build.sbt||9 months ago|
|feed.config||7 months ago|
|feed.png||9 months ago|
|run-notes.txt||9 months ago|
A dead-simple RSS-Feed aggregator and downloader script written specifically for Podcasts
0upon success and a
1upon failure to allow for easily scripting feed updates or even possibly to be used like a system-service.
GPLv3© Thufir - 2018 --
Download the latest version from the releases directory in the repository or build yourself with
$ scala podagg.jar feed.config
feed.config is a configuration file formatted like the example in this repo.
… and in addition
sources.txt (from the config) is a newline-seperated list of podcast feed .rss urls like below:
… make certain your sources.txt file does not end with an empty line and has no extra whitespace.
An example of a simple script that could be run with cron to automate feed updates is below:
#!/bin/bash update="scala /path/to/Podagg.jar /path/to/feed.config" # Update the feed and record a log of successes or failures # based on exit status (0 and 1 for success and failure) if $update; then echo "rss update at: $(date)" >>"/path/to/autoruns.log" 2>&1 else echo "ERROR! at $(date)" >>"/path/to/autoruns.log" 2>&1 fi
titleThe title of the feed
descriptionThe description of your feed (may or may not show up in the RSS feed reader)
linkis the url your feed will be available from and should correspond with
directory. Must end with a
imagedefines a small image that displays with your feed in certain RSS readers (like AntennaPod) by its
height-in-pxall seperated by spaces. The rss specification sets a very small limit on the image size, keep it below about 150x90px.
sourceare the filename/path for your feeds inputs and outputs respectively (
/path/to/sources.txt). These do not inherit from the
directoryconfig option’s path so make sure to specify a full path unless you would like the files to be saved relative to the current directory.
directoryis the path of the directory to which audio files will be saved, make sure this is somewhere a remote client has permissions to access files from.
titleFilterDefine a filter based on the content of episode titles. The filter text starts after a space. By using
titleFilteron multiple lines you can define any number of title filters you need.
episodeLimitDefine the maximum number of episodes to be downloaded and aggregated from all of the feed sources.