fix: reset OutputExt on extension→built-in fallback

This commit is contained in:
zarzet
2026-04-14 02:21:18 +07:00
parent 763c9478f1
commit e904a836c1
+1
View File
@@ -1503,6 +1503,7 @@ func DownloadWithExtensionFallback(req DownloadRequest) (*DownloadResponse, erro
GoLog("[DownloadWithExtensionFallback] Trying provider: %s\n", providerID)
if isBuiltInDownloadProvider(providerIDNormalized) {
req.OutputExt = ""
if (req.Genre == "" || req.Label == "" || req.Copyright == "") &&
req.ISRC != "" {
GoLog("[DownloadWithExtensionFallback] Enriching extra metadata from ISRC: %s\n", req.ISRC)