mirror of https://github.com/lidarr/Lidarr
fixup! Update SpotifyAPI.Web
This commit is contained in:
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…
Reference in New Issue