mirror of
https://github.com/navidrome/navidrome.git
synced 2026-08-31 07:30:32 +00:00
fix(cuesheet): Simplify CATALOG validation
This commit is contained in:
parent
02a2020116
commit
dbafe32135
@ -84,7 +84,7 @@ var (
|
||||
)
|
||||
|
||||
var (
|
||||
catalogRegex = regexp.MustCompile(`^0\d{12}$`)
|
||||
catalogRegex = regexp.MustCompile(`^\d{13}$`)
|
||||
isrcRegex = regexp.MustCompile(`^[\da-zA-Z]{12}$`)
|
||||
cueRegex = regexp.MustCompile(`^\S+( )+\S+.+`)
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user