Problem
BookDB can return server_notice with action: abort_task in API responses to signal LM should stop sending requests. This is currently handled in search_bookdb() (metadata lookups) but NOT in identify_audio_with_bookdb() (audio identification).
If BookDB wants to tell LM "stop sending audio jobs," it has no way to communicate that through the audio endpoint.
Fix
In library_manager/providers/bookdb.py, add server_notice handling to identify_audio_with_bookdb() — check the response for server_notice field and store it in thread-local _abort_state the same way search_bookdb() does.
Files
library_manager/providers/bookdb.py — add server_notice check after audio ID response parsing
Problem
BookDB can return
server_noticewithaction: abort_taskin API responses to signal LM should stop sending requests. This is currently handled insearch_bookdb()(metadata lookups) but NOT inidentify_audio_with_bookdb()(audio identification).If BookDB wants to tell LM "stop sending audio jobs," it has no way to communicate that through the audio endpoint.
Fix
In
library_manager/providers/bookdb.py, add server_notice handling toidentify_audio_with_bookdb()— check the response forserver_noticefield and store it in thread-local_abort_statethe same waysearch_bookdb()does.Files
library_manager/providers/bookdb.py— add server_notice check after audio ID response parsing