Fixed an error in the Plex & Emby Availability Checker

This commit is contained in:
tidusjar 2020-06-14 18:42:46 +01:00
parent 09ab105763
commit a8f32009cb
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -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());
}