Skip to content

LegionnaireLenny/yt-dl-metagen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About

yt-dl-metagen is a simple GUI wrapper for downloading and extracting audio from Youtube playlists using youtube-dl, with the option of automatically filling in additional metadata for the downloaded files. Currently, only the Ogg Vorbis (.ogg) format is supported. Other formats can be specified by manually editing ripper.py before running the program.

Only supported on Windows.

Setting up yt-dl-metagen

  1. Install Python 3.6 or later

    1. https://www.python.org/
  2. Install the mutagen library

    1. https://github.com/quodlibet/mutagen
    2. https://mutagen.readthedocs.io/en/latest/
  3. Download youtube-dl.exe

    1. https://github.com/ytdl-org/youtube-dl
    2. You need the executable not the python files
  4. Download the Windows executables for ffmpeg

    1. https://ffmpeg.org/download.html
  5. Create a bin folder in the project root folder and place youtube-dl.exe, ffmpeg.exe, and ffprobe.exe in the bin folder

Example directory structure

yt-dl-metagen
|
├── bin
│   ├── ffmpeg.exe
│   ├── ffprobe.exe
│   └── youtube-dl.exe
└── metagen
    ├── main.py
    ├── metagen.py
    └── ripper.py

Running yt-dl-metagen

  1. Run main.py using Python, CMD, or Powershell

    1. Passing a playlist url as an argument will automatically fetch the list of videos
  2. Enter the URL of a Youtube playlist

  3. Press "Fetch"

  4. Select the videos to download

  5. (Optional) Enter Artist name or Album title

  6. Press "Rip playlist"

    1. The audio files will be downloaded to the Ripped Audio\<artist>\<album> folder
    2. Audio files are automatically numbered consecutively based on their position in the playlist

Notes

  • Audio files are extracted to the "Ripped Audio" folder in the directory above main.py.
    • Default: yt-dl-metagen\Ripped Audio
  • If you enter an artist/album name, it'll extract the audio files to "Ripped Audio\<artist name>\<album name>
  • It tries to clean up the filenames a bit by removing the artist name (if provided) and stuff like (Official Video)
  • It will save the filename, artist, album, and tracknumber to the metadata
  • Tracks are numbered consecutively based on their position in the playlist. e.g. if you only download videos 1,2,4,6 the tracks will be numbered 1,2,3,4 respectively

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages