Skip to content

slowm0e/rss2m3u

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rss2m3u

RSS podcast feeds to moOde audio player playlists — web UI, automatic M3U conversion via XSLT, stale feed cleanup, and episode titles with dates.

moOde License

Features

  • Web UI to manage RSS feeds and trigger manual runs
  • Converts RSS feeds to .m3u playlists via XSLT
  • Episode titles prefixed with date (01.04 Episode title)
  • Stale feed cleanup — removes .rss files no longer in the feed list
  • Triggers mpc update automatically after conversion
  • Log viewer with colour-coded output

Installation

Dependencies

sudo apt install xsltproc

Files

  • Place rss2m3u.php in /var/www/
  • Place all other files in /var/www/util/rss2m3u/

Permissions

sudo chown -R www-data:www-data /var/www/util/rss2m3u/
sudo chmod -R 755 /var/www/util/rss2m3u/
sudo chmod +x /var/www/util/rss2m3u/rss2m3u.sh

Cron — run every day at 06:00

sudo crontab -e

Add:

0 6 * * * /bin/bash /var/www/util/rss2m3u/rss2m3u.sh

Visit

http://<moode-ip>/rss2m3u.php

Notes

  • Cover images for podcasts must be added manually via moOde under Playlists
  • Removing a feed from the UI will stop it being regenerated, but the .m3u must be removed manually via moOde under Playlists

Credits

Inspired by podcast2playlist by buzink, originally written for Volumio. Adapted for moOde with a web UI and additional features.

A fix for M3U title parsing was contributed to moOde as part of this project, which is required for episode titles to display correctly.

About

RSS podcast feeds to moOde audio player playlists — web UI, automatic M3U conversion via XSLT, stale feed cleanup, and episode titles with dates.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors