spotDL/spotify-downloader

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

Open

#2,196 opened on 2024年9月28日

GitHub で見る
 (10 comments) (0 reactions) (0 assignees)Python (14,703 stars) (1,418 forks)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

コントリビューターガイド