mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 04:57:37 +03:00
Don't import invalid .nsp
files
This commit is contained in:
parent
6a550dab77
commit
2c860edeb5
4 changed files with 9 additions and 4 deletions
|
@ -39,7 +39,6 @@ func (s *playlistImporter) processPlaylists(ctx context.Context, dir string) int
|
|||
}
|
||||
pls, err := s.pls.ImportFile(ctx, dir, f.Name())
|
||||
if err != nil {
|
||||
log.Error(ctx, "Error parsing playlist", "playlist", f.Name(), err)
|
||||
continue
|
||||
}
|
||||
if pls.IsSmartPlaylist() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue