A fork of https://github.com/teal-fm/piper

filter out tracks without artists (podcasts, audiobooks, etc.)

+5
+5
service/spotify/spotify.go
··· 557 }) 558 } 559 560 // assemble Track 561 track := &models.Track{ 562 Name: response.Item.Name,
··· 557 }) 558 } 559 560 + // ignore tracks with no artists (podcasts, audiobooks, etc) 561 + if len(artists) == 0 { 562 + return nil, nil 563 + } 564 + 565 // assemble Track 566 track := &models.Track{ 567 Name: response.Item.Name,