From b86e3f31be60b762d86d6446666bff7d6f7a7132 Mon Sep 17 00:00:00 2001 From: ta264 Date: Mon, 25 Jul 2022 22:18:46 +0100 Subject: [PATCH] fixup! Update SpotifyAPI.Web --- src/NzbDrone.Core/ImportLists/Spotify/SpotifyPlaylist.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/ImportLists/Spotify/SpotifyPlaylist.cs b/src/NzbDrone.Core/ImportLists/Spotify/SpotifyPlaylist.cs index 2a55a8f5c..53d1104fd 100644 --- a/src/NzbDrone.Core/ImportLists/Spotify/SpotifyPlaylist.cs +++ b/src/NzbDrone.Core/ImportLists/Spotify/SpotifyPlaylist.cs @@ -104,7 +104,7 @@ namespace NzbDrone.Core.ImportLists.Spotify private SpotifyPlaylistItemInfo ParsePlaylistTrack(SpotifyClient api, PlaylistTrack 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)