Ignore playlists starting with a dot - #2367 (#2390)

This commit is contained in:
David Casado
2023-06-16 21:55:17 +02:00
committed by GitHub
parent f5d97823e8
commit 7c92a73208
3 changed files with 7 additions and 0 deletions
+3
View File
@@ -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
}
@@ -0,0 +1,2 @@
test.mp3
test.ogg
@@ -0,0 +1,2 @@
test.mp3
test.ogg