--skip-previously-downloaded should read .song_ids as well as .song_archive #24

Open
opened 2023-09-25 14:15:18 -04:00 by ghost · 0 comments
ghost commented 2023-09-25 14:15:18 -04:00 (Migrated from github.com)

Title.

.song_archive is apparently only written if --skip-previously-downloaded is set, but that doesn't make much sense to set on your first download. If you then later set that flag it looks for the archive, which isn't there, and wants to re-download everything.

.song_ids are also a source of downloaded info, so Zotify should use that as well.

I personally just populated the .song_archive file per below, but IMO this shouldn't be necessary

for f in **/.song_ids; do cat "$f" >> ~/Library/Application\ Support/Zotify/.song_archive; done
Title. `.song_archive` is apparently only written if `--skip-previously-downloaded` is set, but that doesn't make much sense to set on your first download. If you then later set that flag it looks for the archive, which isn't there, and wants to re-download everything. `.song_ids` are also a source of downloaded info, so Zotify should use that as well. I personally just populated the `.song_archive` file per below, but IMO this shouldn't be necessary ``` for f in **/.song_ids; do cat "$f" >> ~/Library/Application\ Support/Zotify/.song_archive; done ```
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
zotify-dev/zotify#24
No description provided.