Skip to content

Chaostreff-Potsdam/yaspp

Repository files navigation

Yet another simple podcast publisher

A really simple podcast publisher (a.k.a. the generator behind Chaos Radio Potsdam).

Generates a static feed and podlove-webplayer list from a given yaml-file. To adapt for your page edit templates.py and config.py.

After editing your yaml-file run:

./yaspp.py [-o output_dir] <CONTENT.YAML>

Peparing your podcast files

Modern podcasts peer pressure promotes per-episode pictures and chapter marks. For legacy clients, those should be embedded in the audio file, not only the feed.

How to do this with ffmpeg and mp3chaps:

export NT_DATE=<yyyy-mm-dd>
export NT_YEAR=<yyyy>
export BITRATE=121k  # Up for discussion ;)

ffmpeg -i <inputfile.mp3> -i cover.jpg -b:a $BITRATE -c:v mjpeg -map 0:0 -map 1:0 -id3v2_version 3 \
	-metadata album="Nerdtalk"  -metadata genre="Podcast" -metadata title="CiR am $NT_DATE" \
	-metadata artist="Chaostreff Potsdam" -metadata publisher="Chaostreff Potsdam" \
	-metadata date=$NT_YEAR \
	-metadata:s:v title="Album cover" -metadata:s:v comment="Cover (front)" <outputfile.mp3>
mp3chaps -i <outputfile.mp3>  # While having a <outputfile.chapters.txt>

Workflow Vodoo

Um die Publikation der Episode vorzubereiten,

  1. Kopiert den Podcast-Edit der Episode mit dem Namen YYYY_MM_DD-chaos-im-radio.mp3 in die Nextcloud (beachtet korrekten Mix von _ und -), diese wird nachts per cron job an die richtige Stelle kopiert.
  2. füllt bitte im Pad die Sections ## Summary, ## Shownotes,## Mukke und optional ## Kapitel mit Inhalt. Alle anderen Sections sind für die Publikation nicht relevant. Insbesondere die Links zur Musik sollten stimmen ("by Attribution"-Lizenz und so).
  3. Wenn fertig, dann setzt das Tag shownotes_complete oben im Pad und klickt auf Run Workflow (Rechte im GitHub Repo nötig)
  4. Jeder Pull Request generiert ein zip mit Preview der Webseite (zu finden unter Artifacts). Sieht das gut aus? Merge!
  5. Nach dem Merge wird automatisch die fertige Webseite in ein tar gepackt: https://github.com/Chaostreff-Potsdam/yaspp/releases/download/latest/website.tar.gz, dieses landet dann automatisch am richtigen Ort

About

Yet another simple podcast publisher

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 7