mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-06 14:07:36 +03:00
Ignore m3u files when scanning
This commit is contained in:
parent
1cc03fdd8c
commit
17830d63b4
4 changed files with 15 additions and 1 deletions
|
@ -20,6 +20,14 @@ var _ = Describe("Files", func() {
|
|||
It("returns false for a non-audio file", func() {
|
||||
Expect(IsAudioFile("test.jpg")).To(BeFalse())
|
||||
})
|
||||
|
||||
It("returns false for m3u files", func() {
|
||||
Expect(IsAudioFile("test.m3u")).To(BeFalse())
|
||||
})
|
||||
|
||||
It("returns false for pls files", func() {
|
||||
Expect(IsAudioFile("test.pls")).To(BeFalse())
|
||||
})
|
||||
})
|
||||
|
||||
Describe("IsImageFile", func() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue