Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mass Playlist Download #81

Open
0x32-l3git opened this issue Nov 19, 2023 · 1 comment
Open

Mass Playlist Download #81

0x32-l3git opened this issue Nov 19, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@0x32-l3git
Copy link

Feature Reques

Description

It would be nice to be able to mass download everything in a youtube playlist as a zip file.

Expected Behaviour

Input a YT playlist link (eg this)
And it returns a ZIP with every song with the selected format.
Metadata should be handled by choosing the first result from the metadata search.

@0x32-l3git 0x32-l3git added the enhancement New feature or request label Nov 19, 2023
@deepjyoti30
Copy link
Owner

@0x32-l3git This is already doable through shell:

mkdir playlist-content # Create a separate dir to download the music to
ytmdl "https://www.youtube.com/playlist?list=<id>" --title-as-name --choice 1 --on-meta-error skip -o playlist-content
zip -r playlist.zip playlist-content

Above will create a separate directory to download the playlist songs. Then it will run ytmdl with the playlist URL where the metadata will be searched with the title of the song (from youtube) and the first choice will be used. Finally, the zip command is used to zip the contents of the directory into a single file called playlist.zip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants