mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-30 19:40:05 -07:00
Fixed an error in the Plex & Emby Availability Checker
This commit is contained in:
parent
09ab105763
commit
a8f32009cb
2 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue