Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.
/ podcaster Public archive

Record a scheduled streaming audio feed, save it as an MP3, serve it as a podcast feed for subscription through iTunes.

Notifications You must be signed in to change notification settings

authalic/podcaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

podcaster

Record a scheduled streaming audio feed, save it as an MP3, serve it as a podcast feed for subscription through iTunes.

Installation Notes

Setup the Server (Raspberry Pi)

  1. Install the OS and updates
  2. Set a static IP address (this code uses 192.168.1.198)
  • Method 1: Set a reserved IP for the Raspberry Pi in the router configurations
  • Method 2: Edit the interfaces file * $ sudo nano /etc/network/interfaces * $ sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
  1. Install web server (Apache)
  • $ sudo apt-get install apache2 -y
  • Web files are served out of /var/www/html/
  1. Create the following folders
  • /var/www/html/podcast/
  • /var/www/html/podcast/media/
  • /user/pi/podcast/
  • Set the ownership to pi user sudo chown pi:pi *.*
  1. Copy the Python scripts from this repository to /user/pi/python
  2. Copy the xml and html files to /var/www/html/podcast/
  • Change the permissions of the xml files: chmod 766 *.xml
  1. Install the mutagen Python library for MP3 tagging
  • $ pip install mutagen
  1. Install the Request library to get playlist info off the API
  • $ pip install requests
  1. Schedule the recordings using Cron
  • $ crontab -e to edit the crontab
  • # 0 16 * * 1-5 python /user/pi/python/PodRipper.py MBE 180

Note: Raspberry Pi needs to be set to local timezone in raspi-config utility

  • command line call: $> python PodRipper [programname] [duration in minutes]

About

Record a scheduled streaming audio feed, save it as an MP3, serve it as a podcast feed for subscription through iTunes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published