@@ -36,6 +36,9 @@ func (s *playlistImporter) processPlaylists(ctx context.Context, dir string) int
|
|||||||
return count
|
return count
|
||||||
}
|
}
|
||||||
for _, f := range files {
|
for _, f := range files {
|
||||||
|
if strings.HasPrefix(f.Name(), ".") {
|
||||||
|
continue
|
||||||
|
}
|
||||||
if !model.IsValidPlaylist(f.Name()) {
|
if !model.IsValidPlaylist(f.Name()) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
test.mp3
|
||||||
|
test.ogg
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
test.mp3
|
||||||
|
test.ogg
|
||||||
Reference in New Issue
Block a user