mirror of
https://github.com/navidrome/navidrome.git
synced 2025-12-23 23:18:05 -05:00
fix(scanner): custom tags working again
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
@@ -138,8 +138,10 @@ func compileSplitRegex(tagName TagName, split []string) *regexp.Regexp {
|
|||||||
escaped = append(escaped, regexp.QuoteMeta(s))
|
escaped = append(escaped, regexp.QuoteMeta(s))
|
||||||
}
|
}
|
||||||
// If no valid separators remain, return the original value.
|
// If no valid separators remain, return the original value.
|
||||||
if len(split) > 0 && len(escaped) == 0 {
|
if len(escaped) == 0 {
|
||||||
log.Warn("No valid separators found in split list", "split", split, "tag", tagName)
|
if len(split) > 0 {
|
||||||
|
log.Warn("No valid separators found in split list", "split", split, "tag", tagName)
|
||||||
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user