spotDL/spotify-downloader

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

Open

#2,196 创建于 2024年9月28日

在 GitHub 查看
 (10 评论) (0 反应) (0 负责人)Python (14,703 star) (1,418 fork)batch import
Feature RequestGood First Issue

描述

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

贡献者指南