mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-09-12 21:57:19 -04:00
Audible's catalog endpoint can answer 200 while omitting products from the response. getProductsAsync returned whatever came back, so any podcast episode Audible skipped simply vanished from the scan. The reporter's log shows this: across 1117 consecutive scans of an unchanged 440-item library, the post-scan item total drifted between 2147 and 2151. Re-request the omitted asins before accepting the loss, and warn with the asins that are still unaccounted for afterwards. The rest of the scan's exclusions were equally invisible at the default log level, which is why the reporter found nothing in the log about the missing book: - episodes dropped for having no series parent were logged at Debug, without identifying them. Warn instead, and name them. - titles excluded by ImportEpisodes / ImportPlusTitles were not logged at all. Tally them, and record both settings in the startup state block. Read the two import filters once per scan so a settings change mid-scan can't produce a half-filtered library. Co-authored-by: rmcrackan <rmcrackan@gmail.com>