mirror of
https://github.com/navidrome/navidrome.git
synced 2026-08-31 07:30:32 +00:00
parent
ee1cc93375
commit
0f96a4f0bd
@ -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