This commit is contained in:
2026-02-02 11:40:51 -08:00
parent 4f7bac464f
commit ccd47db869
2 changed files with 94 additions and 127 deletions

View File

@@ -117,6 +117,11 @@ def _required_keys_for(store_cls: Type[BaseStore]) -> list[str]:
)
# Store type names that have been converted to providers-only.
# These should be silently skipped without warning.
_PROVIDER_ONLY_STORE_NAMES = frozenset(("debrid", "alldebrid"))
def _build_kwargs(store_cls: Type[BaseStore], instance_name: str, instance_config: Any) -> Dict[str, Any]:
if isinstance(instance_config, dict):
cfg_dict = dict(instance_config)
@@ -180,7 +185,8 @@ class Store:
continue
store_cls = classes_by_type.get(store_type)
if store_cls is None:
if not self._suppress_debug:
# Skip provider-only names without debug warning
if store_type not in _PROVIDER_ONLY_STORE_NAMES and not self._suppress_debug:
debug(f"[Store] Unknown store type '{raw_store_type}'")
continue