Playcaster
Turn any playlist1 into a Podcast feed
Installation
Playcaster can be installed from Cargo:
cargo install playcaster
You will additionally need yt-dlp
installed. Instructions for that can be found at https://github.com/yt-dlp/yt-dlp#installation.
Usage
playcaster <feed-file> <base-url> [downloader-arguments]...
playcaster \
$HOME/htdocs/feeds/playlist.xml \
"http://your-podcast-server.example" \
--playlist-url "https://www.youtube.com/playlist?list=playlist" \
-- \
--embed-chapters \
--write-auto-sub \
--embed-subs \
--sub-lang en
--playlist-url
specifies the playlist to fetch items from. It only needs to be specified if <feed-file>
doesn't exist yet, or doesn't have a <link/>
which already points to the playlist.
Items after --
are passed on to yt-dlp
, to configure its extraction or filter results.
Docker Installation & Usage
A Docker image is supplied for ease of use in environments like a NAS, and can be installed with the following command:
docker pull ghcr.io/ticky/playcaster:main
It can be run as follows, substituting $HOME/htdocs/feeds
for where your feeds should be on your host system:
docker run --rm -v $HOME/htdocs/feeds:/feeds -it ghcr.io/ticky/playcaster:main \
/feeds/playlist.xml \
"http://your-podcast-server.example" \
--playlist-url "https://www.youtube.com/playlist?list=playlist" \
-- \
--embed-chapters \
--write-auto-sub \
--embed-subs \
--sub-lang en
The image is based upon jauderho/yt-dlp, which includes yt-dlp
and ffmpeg
.
Footnotes
-
That
yt-dlp
supports, anyway↩