From e8065d07b315eb0ff17a7ed6f7c681aa4df8a255 Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Sat, 28 Jan 2017 17:27:53 -0500 Subject: [PATCH] Make year nullable for trakt --- src/NzbDrone.Core/NetImport/Trakt/TraktParser.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/NetImport/Trakt/TraktParser.cs b/src/NzbDrone.Core/NetImport/Trakt/TraktParser.cs index 611dfc5b8..f6e80bad2 100644 --- a/src/NzbDrone.Core/NetImport/Trakt/TraktParser.cs +++ b/src/NzbDrone.Core/NetImport/Trakt/TraktParser.cs @@ -57,7 +57,7 @@ namespace NzbDrone.Core.NetImport.Trakt Title = movie.movie.title, ImdbId = movie.movie.ids.imdb, TmdbId = movie.movie.ids.tmdb, - Year = movie.movie.year + Year = (movie.movie.year ?? 0) }); }