🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
fix(scanner): custom tags working again
Deluan3e61b0426b0c
diff --git a/model/tag_mappings.go b/model/tag_mappings.goindex 0365ed565..bfe098f77 100644--- a/model/tag_mappings.go+++ b/model/tag_mappings.go@@ -138,8 +138,10 @@ func compileSplitRegex(tagName TagName, split []string) *regexp.Regexp {escaped = append(escaped, regexp.QuoteMeta(s))}// If no valid separators remain, return the original value.- if len(split) > 0 && len(escaped) == 0 {- log.Warn("No valid separators found in split list", "split", split, "tag", tagName)+ if len(escaped) == 0 {+ if len(split) > 0 {+ log.Warn("No valid separators found in split list", "split", split, "tag", tagName)+ }return nil}