Repository navigation
feat: add recently-added scan and fix file detection for unmonitored books - #8
Open
breakthestatic wants to merge 1 commit into
Open
breakthestatic wants to merge 1 commit into
breakthestatic wants to merge 1 commit into
Conversation
6 of 7 tasks
breakthestatic
force-pushed
the
feat-readarr
branch
from
October 9, 2026 18:16
039a5c4 to
2e9d67c
Compare
jabloink
force-pushed
the
feat-readarr
branch
from
October 22, 2026 21:01
42c01f4 to
529eefa
Compare
breakthestatic
force-pushed
the
feat-readarr
branch
from
October 27, 2026 21:04
2e9d67c to
2f34a7b
Compare
Author
|
@jabloink, is there any chance you could take a look at this? I'd like to switch back to your base image, but still rely on the more immediate response of the recently updated scanner. |
jabloink
force-pushed
the
feat-readarr
branch
from
November 12, 2026 22:59
1b9e627 to
129f465
Compare
breakthestatic
force-pushed
the
feat-readarr
branch
2 times, most recently
from
November 18, 2026 00:44
90b86a5 to
51d5596
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
readarr-recently-added-scanjob that runs every 10 minutes and only processes books with state changes using a DB comparison filter, reducing scan time from ~9 minutes to seconds on my Chaptarr instance.bookFileCount > 0instead ofpercentOfBooks >= 100. Chaptarr'sbookCountexcludes unmonitored books, causingpercentOfBooks=0even when files exist.bookFileCountis a strict superset that works in both original Readarr and Chaptarr.DEBUGas I've found a large portion of the Chaptarr library doesn't have valid Hardcover IDs (e.g. comic books, compilations, etc.) In my case, 1/3 of the items returned from Chaptarr didn't have valid HC IDs (~2k out of 6k items returned from the Chaptarr API). This was spamming the log, so I felt it better to lower the level.AI Disclosure: I used AI to investigate existing patterns in the codebase and offer potential high-level suggestions for initial approach. Wrote the code myself but used AI to clean up comments documenting the code changes.
How Has This Been Tested?
Tested against my own personal Chaptarr & Seerr instances. Also tested against a small original Readarr instance (using rreading-glasses). Tested initial full scan and subsequent recently added scans by requesting new media and watching the Seerr logs during and after completion of the request in Chaptarr/Readarr.
Screenshots / Logs (if applicable)
Checklist:
pnpm buildpnpm i18n:extract