Fixed an error in the Plex & Emby Availability Checker

pull/3632/head
tidusjar 5 years ago
parent 09ab105763
commit a8f32009cb

@ -170,7 +170,7 @@ namespace Ombi.Schedule.Jobs.Emby
{
// Let's try and match the series by name
seriesEpisodes = embyEpisodes.Where(x =>
x.Series.Title.Equals(child.Title, StringComparison.CurrentCultureIgnoreCase));
x.Series.Title == child.Title);
}
foreach (var season in child.SeasonRequests)

@ -105,8 +105,8 @@ namespace Ombi.Schedule.Jobs.Plex
{
// Let's try and match the series by name
seriesEpisodes = plexEpisodes.Where(x =>
x.Series.Title.Equals(child.Title, StringComparison.InvariantCultureIgnoreCase) &&
x.Series.ReleaseYear.Equals(child.ParentRequest.ReleaseDate.Year.ToString(), StringComparison.InvariantCultureIgnoreCase));
x.Series.Title == child.Title &&
x.Series.ReleaseYear == child.ParentRequest.ReleaseDate.Year.ToString());
}

Loading…
Cancel
Save