Skip to content

yveoch/youtube_playlist_sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Playlist Sync

This small script aims to synchronize YouTube playlists on a local machine.

Playlists can then be transefered elsewhere, for example to a smartphone using BitTorrent's Sync.

It is intended to be run periodically (eg with cron).

If you're only interested in mp3, check out this project.

Installation

> pip3 install git+https://github.com/dryvenn/youtube_playlist_sync

Usage

> youtube_playlist_sync

Configuration

As the script doesn't support any authentication, make sure all playlists are either 'Public' or 'Unlisted'.

The script will look for a configuration file named youtube_playlist_sync.ini under $XDG_CONFIG_HOME or if this variable is not defined under ~/.config.

youtube_playlist_sync.ini file example

# Default parameters
[DEFAULT]
# Output format (will default to 'mp4' if not specified).
# See `youtube_dl' for more info.
format: mp3
# Output directory (will default to '~/Music/youtube-playlist-sync' if not specified).
# The playlist will live in a subdirectory of this one.
destination: ~/Music

# A playlist
[https://www.youtube.com/playlist?list=PLjqNIb_ZU6K8Jh_Q01s4qXPV6n9Y1a-JW]
format: mp4

About

Sync a YouTube playlist locally

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages