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.
-
Install Python 3.6 or later
-
Install the mutagen library
-
Download youtube-dl.exe
- https://github.com/ytdl-org/youtube-dl
- You need the executable not the python files
-
Download the Windows executables for ffmpeg
-
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
-
Run main.py using Python, CMD, or Powershell
- Passing a playlist url as an argument will automatically fetch the list of videos
-
Enter the URL of a Youtube playlist
-
Press "Fetch"
-
Select the videos to download
-
(Optional) Enter Artist name or Album title
-
Press "Rip playlist"
- The audio files will be downloaded to the Ripped Audio\<artist>\<album> folder
- Audio files are automatically numbered consecutively based on their position in the playlist
- 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