don't try to load missing tracks when there aren't any (also ignore previous commit message i forgot to switch layouts)

This commit is contained in:
Laptop
2024-10-07 17:27:22 +03:00
parent a3e0587021
commit 135fa2ab5f

View File

@@ -161,6 +161,10 @@ func (p *Playlist) GetMissingTracks() error {
}
}
if len(missing) == 0 {
return nil
}
res, next, err := GetMissingTracks(missing)
if err != nil {
return err