Log exception when inferring HiFi manifest ext

Add a debug log in the exception handler that occurs while inferring legacy HiFi track manifest extensions. Previously exceptions were silently ignored; this change records the error message via logger.debug to aid debugging without changing behavior.
pull/673/head
Broque Thomas 4 days ago
parent 274a1ed34a
commit 048e4e85d5

@ -289,8 +289,8 @@ class HiFiClient(DownloadSourcePlugin):
return 'flac'
if 'mp4' in mime or 'aac' in codecs:
return 'm4a'
except Exception:
pass
except Exception as e:
logger.debug("Failed to infer legacy HiFi track manifest extension: %s", e)
return fallback
def check_instance_capabilities(self, url: str, timeout: int = 5) -> Dict[str, Any]:

Loading…
Cancel
Save