mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-13 10:47:19 +03:00
parent
f5d97823e8
commit
7c92a73208
@ -36,6 +36,9 @@ func (s *playlistImporter) processPlaylists(ctx context.Context, dir string) int
|
||||
return count
|
||||
}
|
||||
for _, f := range files {
|
||||
if strings.HasPrefix(f.Name(), ".") {
|
||||
continue
|
||||
}
|
||||
if !model.IsValidPlaylist(f.Name()) {
|
||||
continue
|
||||
}
|
||||
|
2
tests/fixtures/playlists/subfolder1/.hidden_playlist1.m3u
vendored
Normal file
2
tests/fixtures/playlists/subfolder1/.hidden_playlist1.m3u
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
test.mp3
|
||||
test.ogg
|
2
tests/fixtures/playlists/subfolder2/.hidden_playlist2.m3u
vendored
Normal file
2
tests/fixtures/playlists/subfolder2/.hidden_playlist2.m3u
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
test.mp3
|
||||
test.ogg
|
Loading…
x
Reference in New Issue
Block a user