fixup! Update SpotifyAPI.Web

pull/2870/head
ta264 2 years ago
parent e5edc8bbf7
commit b86e3f31be

@ -104,7 +104,7 @@ namespace NzbDrone.Core.ImportLists.Spotify
private SpotifyPlaylistItemInfo ParsePlaylistTrack(SpotifyClient api, PlaylistTrack<IPlayableItem> playableItem, string playlistId, string playlistName, ref int order)
{
var track = playableItem.Track as FullTrack;
var track = playableItem?.Track as FullTrack;
// From spotify docs: "Note, a track object may be null. This can happen if a track is no longer available."
if (track?.Album == null)

Loading…
Cancel
Save