Hi, looking for a way to automatically download audio files with ytdl whenever i add a video to a specific invidious playlist. Hope this makes sense :)
So, basically, i add a video to an invidious playlist, which then triggers ytdl to download that video as an audiofile to a disk on my server. Then i sync that file with syncthing to my phone, so that my antennapod can load the file as podcast. Or am i complicating things??
If you keep the same filenames for the video files it should not redownload what already has.
For automatically I think is honestly easier to just run the command on a cronjob every 5 mins.
This. And, yt-dlp and/or youtube-dl used to have an issue where if the url started with the video ID instead of the playlist ID, it just downloaded the video not the whole playlist. Not sure if that is still around, then just be aware.