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

Make --archive save the links to the downloaded songs as soon as the songs are downloaded #2196

Open
truppelito opened this issue Sep 28, 2024 · 6 comments
Labels
Feature Request Feature Request Good First Issue Good for newcomers

Comments

@truppelito
Copy link

truppelito commented Sep 28, 2024

Requested Feature

If I run spotdl download https://link-to-a-playlist --archive my-archive-path it seems that spotdl only writes the downloaded files to the archive once the entire source has been parsed through and downloaded. So imagine this playlist has 500 songs. If spotdl successfully downloads the first 499 songs and has an issue on the last song and crashes, then the archive file will be empty. I use the archive file to keep, well, an archive of the downloaded songs. In this case, there will be 499 songs that are downloaded but the archive doesn’t reflect that fact.

Would it be possible to change --archive so it writes down the downloaded songs as soon as they are successfully downloaded?

Possible implementation

No response

@truppelito truppelito added the Feature Request Feature Request label Sep 28, 2024
@Shajal-Kumar
Copy link

Hi @truppelito , I'd like to work on this issue if you haven't started on it yet.

@truppelito
Copy link
Author

This one I haven't, feel free!

@Silverarmor Silverarmor added the Good First Issue Good for newcomers label Nov 2, 2024
@Silverarmor
Copy link
Member

Hi @truppelito and @Shajal-Kumar .

Great to see you around the spotDL project. We are always on the lookout for more volunteers to contribute to spotDL.
Would you be interested in joining the spotDL development team?

Thanks for your contributions thus far.
You can also join the spotDL discord @ https://discord.gg/xCa23pwJWY

@Shajal-Kumar
Copy link

@Silverarmor I'd love to join the spotDL development team! Thanks for the opportunity.

@truppelito
Copy link
Author

@Silverarmor Yes, thank you!

@Silverarmor
Copy link
Member

Thanks @Shajal-Kumar @truppelito
I've added you to the GitHub organisation. You should receive an email or you can accept it at https://github.com/spotDL within 7 days.

Please join the spotDL Discord and mention me (@Silverarmor) so I can link your discord to your GH account. From that - simply discuss in the dev channels, or work on PRs/issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Feature Request Good First Issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants