Skip to content

fix: ABS "mark existing books as downloaded" toggle has no effect (#222)#223

Open
LeDomme wants to merge 1 commit into
markbeep:mainfrom
LeDomme:main
Open

fix: ABS "mark existing books as downloaded" toggle has no effect (#222)#223
LeDomme wants to merge 1 commit into
markbeep:mainfrom
LeDomme:main

Conversation

@LeDomme

@LeDomme LeDomme commented Jul 4, 2026

Copy link
Copy Markdown

Fix: ABS "mark existing books as downloaded" check never invoked

Closes #222

Problem

abs_mark_downloaded_flags was implemented in app/internal/audiobookshelf/client.py but never called from the search route, making the "Use ABS to mark existing books as downloaded" toggle completely non-functional.

Fix

Call abs_mark_downloaded_flags in search_books after merging the Audible results, so existing books are checked against ABS and marked as downloaded before the response is returned.

Changes

  • app/routers/api/search.py: import and invoke abs_mark_downloaded_flags after building the merged result list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ABS "mark existing books as downloaded" check is never invoked (dead code)

1 participant