Turn a YouTube channel into a podcast channel using yt2podcast and listen audio tracks using your favorite podcast player.
Tested with:
- Podcast Addict on Android (works)
- gPodder on Linux (works)
- iTunes on Mac (does not work) - probably the XML needs more tags to satisfy iTunes
How to use:
- Build the package.
- Create a json file named
config.json
that specifies how podcast clients connect to the podcast server:{ "Hostname": "your.domain.name", "port": "8080" "MaxYTStorageBytes": "How much data to keep in the YouTube storage folder. Value set in bytes." }
- Get YouTube API credentials from your GCP account and save them to
client_secret.json
. - Run the application.
- Copy the username or channel ID of the YouTube channel that you want to listen to and add the following link in your podcast player:
http://your.domain.name:port/api/ytchan/<username or channel ID>
- for example, CGP Grey, which can be found at
https://www.youtube.com/user/CGPGrey
would be used ashttp://your.domain.name:port/api/ytchan/CGPGrey
orhttp://your.domain.name:port/api/ytchan/UC2C_jShtL725hvbm1arSV9w
You can also add a playlist directly by addinghttp://your.domain.name:port/api/ytplaylist/<playlist ID>
- Note: You will need to authenticate your application with the YouTube servers after adding a channel or playlist, so keep an eye on the console where the application was launched.