fix(plex): Fixed an issue where sometimes the availability checker would throw an exception when checking episodes

This commit is contained in:
tidusjar 2022-10-24 20:49:46 +01:00
commit 17ba2020ee

View file

@ -101,7 +101,7 @@ namespace Ombi.Schedule.Jobs.Plex
{ {
// Let's try and match the series by name // Let's try and match the series by name
seriesEpisodes = plexEpisodes.Where(x => seriesEpisodes = plexEpisodes.Where(x =>
x.Series.Title.Equals(child.Title, StringComparison.InvariantCultureIgnoreCase)); x.Series.Title == child.Title);
} }
await ProcessTvShow(seriesEpisodes, child); await ProcessTvShow(seriesEpisodes, child);