Skip to content

Check the entire collection, use caching, and other various fixes

This merge request does multiple things. Feel absolutely free to cherry pick stuff, or even just create new (separate) commits for these changes yourself, since it's kind of a mess. It's also fine if you don't want any of the features and just close this ticket.

What it does:

  1. Always scan the entire collection. I bought a big discography, but the same goes for if you already have a large collection and run it for the first time: it needs to download more than just the most recent 15 or so.
  2. Use some caching to prevent checking webpages we don't need to check.
  3. Some other completely unrelated things, like a --help correction. I also bumped some versions because I don't have Java 8 anymore, and my editor was unhappy about the Kotlin version.

What needs to be done (I'm probably not ever doing these things):

  1. Split my commits into self-contained features, instead of the mess it is right now
  2. Tests, probably. It might have broken the "stop at first already-downloaded album" option, because if you buy 5 albums, kill it while it downloads the second, then rerun with this option, it might not ever download albums 2, 3, 4 and 5. I didn't check.
Edited by barbeque-squared

Merge request reports