Allow searching songs by filepath, for songs without Title

This commit is contained in:
Deluan
2024-09-13 18:04:21 -04:00
parent 47872c9e8a
commit e8d0f2ec2c
2 changed files with 6 additions and 1 deletions
+3
View File
@@ -32,6 +32,9 @@ var _ = Describe("Sanitize Strings", func() {
It("remove opening brackets", func() {
Expect(str.SanitizeStrings("[Five Years]")).To(Equal("five years"))
})
It("remove slashes", func() {
Expect(str.SanitizeStrings("folder/file\\yyyy")).To(Equal("folder file yyyy"))
})
})
Describe("SanitizeFieldForSorting", func() {