Skip to content

Instantly share code, notes, and snippets.

@lucascantor
Last active September 3, 2021 03:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucascantor/bcf8a5e1965a14407b55e757dba4983c to your computer and use it in GitHub Desktop.
Save lucascantor/bcf8a5e1965a14407b55e757dba4983c to your computer and use it in GitHub Desktop.
Youtube Channels to Plex
#!/bin/bash
/path/to/youtube-dl --playlist-reverse --download-archive /path/to/download-archive.txt -i -o "%(uploader)s/%(playlist)s/%(playlist)s - S01E%(playlist_index)s - %(title)s [%(id)s].%(ext)s" -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio' --add-metadata --write-thumbnail --batch-file=/path/to/channel_list.txt
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment