handle setMetadata exception

This commit is contained in:
oskvr37
2024-08-08 13:54:26 +02:00
parent 69eac6ca85
commit 8bbfd69b6d
+4 -2
View File
@@ -162,8 +162,10 @@ def main():
stream["manifest"],
stream["manifestMimeType"],
)
setMetadata(track_path, track)
try:
setMetadata(track_path, track)
except ValueError as e:
logger.error(f"setMetadata error: {e}")
track_path = convertToFlac(track_path)