mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-25 17:57:08 +01:00
Ignore m3u files when scanning
This commit is contained in:
parent
1cc03fdd8c
commit
17830d63b4
4 changed files with 15 additions and 1 deletions
|
|
@ -55,6 +55,7 @@ var _ = Describe("Metadata", func() {
|
|||
Expect(files).To(HaveKey("tests/fixtures/test.ogg"))
|
||||
Expect(files).To(HaveKey("tests/fixtures/test.mp3"))
|
||||
Expect(files).To(HaveKey("tests/fixtures/01 Invisible (RED) Edit Version.mp3"))
|
||||
Expect(files).ToNot(HaveKey("tests/fixtures/playlist.m3u"))
|
||||
})
|
||||
It("returns error if path does not exist", func() {
|
||||
_, err := LoadAllAudioFiles("./INVALID/PATH")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue