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

Add argument for downloading songs without creating floder #177

Open
XuliGan4eg2006 opened this issue May 1, 2021 · 14 comments
Open

Add argument for downloading songs without creating floder #177

XuliGan4eg2006 opened this issue May 1, 2021 · 14 comments

Comments

@XuliGan4eg2006
Copy link

I suggest adding a parameter for downloading tracks without creating a folder and a parameter for a custom track name

@dagolinuxoid
Copy link

Yeah! I often download a single tracks rather than playlists, so it would be nice to put just tracks into specified path without wrapping them into an additional folder.

@Spagett1
Copy link

Spagett1 commented Jul 9, 2021

Yeah this would be really useful.

@SathyaBhat
Copy link
Owner

@XuliGan4eg2006 @Laar3 @dagolinuxoid where would you prefer to have the file saved? Same place as where you invooked spotify-dl from?

@XuliGan4eg2006
Copy link
Author

@XuliGan4eg2006 @Laar3 @dagolinuxoid where would you prefer to have the file saved? Same place as where you invooked spotify-dl from?

To a specific directory, which can be specified by passing a parameter with the path

@SathyaBhat
Copy link
Owner

you can do that currently with -o parameter

@XuliGan4eg2006
Copy link
Author

you can do that currently with -o parameter

and he will create a folder with the song, and it is necessary that only the song (without the folder)

@SathyaBhat
Copy link
Owner

Got it 👍🏼

@Spagett1
Copy link

@XuliGan4eg2006 @Laar3 @dagolinuxoid where would you prefer to have the file saved? Same place as where you invooked spotify-dl from?

As xuligan said I mean that it should just put the song in the folder without creating a folder Inside that folder fo rthe song.

@SathyaBhat
Copy link
Owner

@Laar3 makes sense. thanks!

@mrchrisster
Copy link

I'm having an issue where the playlist I'm trying to download has emojis in it so it fails to create the directory. Can I just download it to the dir specified with -o ?

@SathyaBhat
Copy link
Owner

I'm having an issue where the playlist I'm trying to download has emojis in it so it fails to create the directory. Can I just download it to the dir specified with -o ?

Unfortunately not, it would try to create a sub-directory with the name of the playlist

https://github.com/SathyaBhat/spotify-dl/blob/master/spotify_dl/spotify_dl.py#L80-L81

@SathyaBhat
Copy link
Owner

@mrchrisster can you link me to a playlist which has an emoji in it?

@mrchrisster
Copy link

mrchrisster commented Jul 26, 2021

@chrisuzokwe
Copy link

I think forcing a folder creation actually makes it so the overwrite method doesn't work because you're always downloading to an empty file.

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

No branches or pull requests

6 participants