diff --git a/abogen/web/routes/utils/settings.py b/abogen/web/routes/utils/settings.py index 342db9d..d95635d 100644 --- a/abogen/web/routes/utils/settings.py +++ b/abogen/web/routes/utils/settings.py @@ -579,10 +579,7 @@ def audiobookshelf_manual_available() -> bool: settings = stored_integration_config("audiobookshelf") if not settings: return False - if not coerce_bool(settings.get("enabled"), False): - return False - config = build_audiobookshelf_config(settings) - return config is not None + return coerce_bool(settings.get("enabled"), False) def build_calibre_client(settings: Mapping[str, Any]) -> CalibreOPDSClient: diff --git a/abogen/web/static/prepare.js b/abogen/web/static/prepare.js index c9f5ae9..97c59f3 100644 --- a/abogen/web/static/prepare.js +++ b/abogen/web/static/prepare.js @@ -1730,7 +1730,9 @@ const initPrepare = (root = document) => { } if (peopleStatsNode) { - if (!peopleEntries.length) { + if (errors.length) { + peopleStatsNode.textContent = errors.join(" ยท "); + } else if (!peopleEntries.length) { peopleStatsNode.textContent = "No characters detected yet."; } else if (!peopleRender.visible) { peopleStatsNode.textContent = "Adjust the mention filter to see additional characters.";