Giter VIP home page Giter VIP logo

youtube-song-sync's Introduction

YouTube Song Sync

Downloads and syncs songs in YouTube playlists.

Features:

  • Downloads entire playlists (or individual songs) to MP3 files.
  • Playlist syncing with "diffing"
    • Adding songs to a YouTube playlist will only download the new songs.
    • Rearranging songs in a YouTube playlist will change their indexes and filenames locally.
    • Songs that have been deleted from a YouTube playlist are deleted locally (but you can specify to not delete them).
  • Normalizes audio levels for consistent volume.
  • MP3 metadata (ID3) support so that titles and artists appear in music player applications and file browsers.
    • Metadata is set automatically but can be updated manually.
  • Confirmation screen before changes are applied with formatted tables showing changes that will be applied.

Usage

The main command is "sync":

python -m ytss sync PLAYLIST_URL PLAYLIST_DIRECTORY

which will sync a YouTube playlist at the URL with a local directory. To download all songs in the playlist, simply provide an empty directory or a directory that does not exist.

For more help information, including the list of available commands, use the --help flag:

python -m ytss --help

For additional information about the "sync" command, as well as information about the other available commands, use the --help flag on an individual command; for example:

python -m ytss sync --help

Sample Output

Screenshot

Setup

Install Python

Supports Python 3 versions >= 3.10

Install Python Dependencies

pip install -r requirements.txt

Install FFMPEG

Download FFMPEG

License

MIT License (see LICENSE.md)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.