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>
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>
Um die Publikation der Episode vorzubereiten,
- 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.
- füllt bitte im Pad die Sections
## Summary,## Shownotes,## Mukkeund optional## Kapitelmit Inhalt. Alle anderen Sections sind für die Publikation nicht relevant. Insbesondere die Links zur Musik sollten stimmen ("by Attribution"-Lizenz und so). - Wenn fertig, dann setzt das Tag
shownotes_completeoben im Pad und klickt auf Run Workflow (Rechte im GitHub Repo nötig) - Jeder Pull Request generiert ein zip mit Preview der Webseite (zu finden unter Artifacts). Sieht das gut aus? Merge!
- 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