fixup! Update SpotifyAPI.Web

This commit is contained in:
ta264 2022-07-25 22:18:46 +01:00
parent e5edc8bbf7
commit b86e3f31be
1 changed files with 1 additions and 1 deletions

View File

@ -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)