null provider check for movies

This commit is contained in:
Drewster727 2016-06-21 21:11:36 -05:00
parent f76e54408e
commit ffc0ec34c4

View file

@ -179,7 +179,8 @@ namespace PlexRequests.Services.Jobs
{ {
if (advanced) if (advanced)
{ {
if (movie.ProviderId.Equals(providerId, StringComparison.InvariantCultureIgnoreCase)) if (!string.IsNullOrEmpty(movie.ProviderId) &&
movie.ProviderId.Equals(providerId, StringComparison.InvariantCultureIgnoreCase))
{ {
return true; return true;
} }