Skip to content

opensourceradio/rdfetch

Repository files navigation

RDFetch - a Rivendell Podcast Fetcher

RDFetch is an app that fills the RSS-feed-fetch void in Rivendell. Use RDFetch to configure, retrieve and import audio from arbitrary RSS feeds.

Installation

Download the latest rdfetch release from github.

Use the system package manager yum(8) to install and remove rdfetch:

sudo yum install rdfetch-<VERSION>.x86_64.rpm

where represents the version you have downloaded.

Requirements

Installing from the RPM package will ensure all dependencies are met.

  • zsh (yum install zsh)

  • mysql client app (yum install mysql-client)

  • podget not from repo, from (CentOS 7 requires a version older than 0.8.6) github source

  • wget (yum install wget)

  • ${exec_prefix}/bin/zsh-functions also in this repo

  • ${exec_prefix}/bin/podget-wrapper also in this repo

  • all commands listed in ourCommands in rdfetch and in podget-wrapper

  • replace the placeholder %PODGET_DIR_CONFIG% with its actual value in rdfetch and podget-wrapper (this is done for you when you install the RPM package)

  • directory structure (where $RDFETCH is the "home" directory of the rdfetch app):

    • $RDFETCH/configuration
    • $RDFETCH/podcasts
    • $RDFETCH/log
      • $RDFETCH/log/archive
    • $RDFETCH/tmp
  • $RDFETCH/configuration:

    • msmtp.rdfetch Depending on the location declared in $MAILER_CONFIG in notifyrc.
    • notifyrc Set all variables appropriately.
    • podgetrc Set the following variables:
      • DIR_SESSION=%PODGET_DIR_SESSION%
      • DIR_LIBRARY=%PODGET_DIR_LIBRARY%
      • DIR_LOG=%PODGET_DIR_LOG%
    • serverlist Should be empty except for the comments. This is the where podget(1) gets its list of feeds to fetch

Text User Interface Configuration

These tasks are performed for you when you install the package using yum(8) or rpm(1).

  • Place rdfetch.svg in /usr/share/icons/gnome/scalable/apps

    • run gtk-update-icon-cache /usr/share/icons/gnome or gtk-update-icon-cache-3.0 /usr/share/icons/gnome
  • Place rdfetch.desktop in /usr/share/applications

  • As the "target" user, run: XDG_UTILS_DEBUG_LEVEL=999 xdg-desktop-menu install --novendor /usr/share/applications/rdfetch.desktop

Running

Invoke RDFetch either from the command line in a terminal window, or by navigating to Applications > Rivendell > Configuration > RDFetch. The menu leads you through adding, deleting (or disabling), enabling, listing and otherwise managing the list of podcasts and Rivendell dropboxes.