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

Download playlists into single folder #257

Open
DistortedVision opened this issue Feb 21, 2024 · 6 comments
Open

Download playlists into single folder #257

DistortedVision opened this issue Feb 21, 2024 · 6 comments

Comments

@DistortedVision
Copy link

Whenever I download a playlist, qobuz-dl creates a folder for each track named as the album it was taken from.

Is there a way so it downloads into a single folder and so the track numbering is preserved?

@rhemz
Copy link

rhemz commented Mar 2, 2024

Use the folder format -ff argument and provide . e.g.

qobuz-dl dl <playlist url> -q <quality> -ff '.' -tf '{tracknumber}. {artist} - {tracktitle}' --no-db --no-m3u

It'll download all files into a single directory with the playlist name, numbered by the position on the playlist (not the original album track #). I just hit this issue when building a Yoto card playlist for my kid.

@DistortedVision
Copy link
Author

DistortedVision commented Mar 2, 2024

I get an error. Unless I've misunderstood what you wrote:

"Use the folder format -ff argument and provide . e.g."

Wondering if I'm supposed to replace the "." with something.

Screenshot 2024-03-02 20 05 21

@rhemz
Copy link

rhemz commented Mar 2, 2024

not sure about windows, try doublequotes 🤷🏼‍♂️

@DistortedVision
Copy link
Author

Double quotes didn't work either.

@bgonz808
Copy link

bgonz808 commented Mar 4, 2024

Thanks for sharing @rhemz was looking for something like this for playlists. I'm on Windows PowerShell and command runs without error, but I'm not getting the playlist index in the filename when I use this command, and when downloading a playlist as files in one folder flattened the cover.jpg aliases and makes all songs have the first track's album art. Curious if there are workarounds? For this use case it would be safe to erase cover.jpg after each song downloads (can probably figure out where to post-download hook that in.

@DistortedVision
Copy link
Author

DistortedVision commented Mar 4, 2024

Works for me too in PowerShell. But I think I'm having the same issue as bgonz808 if I understood his post correctly. The track numbers in the filenames are messed up.

Screenshot 2024-03-04 10 57 28

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

No branches or pull requests

3 participants