fix(cuesheet): Simplify CATALOG validation

This commit is contained in:
PSyton 2026-01-14 09:34:02 +07:00
parent 02a2020116
commit cef760b3f5
2 changed files with 1 additions and 2 deletions

View File

@ -104,7 +104,6 @@ var _ = Describe("MediaFiles", func() {
})
})
When("we have multiple songs with different dates", func() {
BeforeEach(func() {
mfs = MediaFiles{

View File

@ -84,7 +84,7 @@ var (
)
var (
catalogRegex = regexp.MustCompile(`^0\d{12}$`)
catalogRegex = regexp.MustCompile(`^\d{12,14}$`)
isrcRegex = regexp.MustCompile(`^[\da-zA-Z]{12}$`)
cueRegex = regexp.MustCompile(`^\S+( )+\S+.+`)
)