rmcrackan / Libation

Libation: Liberate your Library
GNU General Public License v3.0
2.65k stars 143 forks source link

Skip books that don't appear in last scan for docker CLI #971

Open ThomasGeek opened 1 month ago

ThomasGeek commented 1 month ago

If you have books in the database that are marked as not in last scan the cli command embeded in the docker still tries to download those books, which will fail. This means that if there are new books that you do want downloaded you need to wait for all of these errors to pass.

You could mark this books as downloaded or something to skip them. However this would mean that if you did in the future purchase the book Libation would not know/try to download it automatically.

I think the best solution for this would be automatically skip these book from the list to try downloading in the first place.

For context, this can come about from using book lending where the account in the past had access to the books but currently does not. If you had a lot of lending books from before you started using libation it can add a noticeable amount of time to downloading new books.

pixil98 commented 3 weeks ago

You could mark this books as downloaded or something to skip them. However this would mean that if you did in the future purchase the book Libation would not know/try to download it automatically.

If you did purchase it in the future (or it was added back to audible plus), I don't think Libation sees that as a new book. I expect, in the hypothetical future where this feature exists, that it would cause the books to not be downloaded anyway. At that point it feels like you might as well just mark them as downloaded.