Add command line M3U exporter. Closes #1914

This commit is contained in:
Deluan
2022-12-21 14:37:08 -05:00
parent 5d8318f7b3
commit 28389fb05e
12 changed files with 188 additions and 63 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ func (s *playlistImporter) processPlaylists(ctx context.Context, dir string) int
return count
}
for _, f := range files {
if !core.IsPlaylist(f.Name()) {
if !model.IsValidPlaylist(f.Name()) {
continue
}
pls, err := s.pls.ImportFile(ctx, dir, f.Name())