Fixed the issue where we were marking episodes as available with the Emby connection when they have not yet aired #2417 #2623

pull/2655/head
TidusJar 6 years ago
parent 3de88be16c
commit 527bc00c09

@ -82,6 +82,13 @@ namespace Ombi.Schedule.Jobs.Emby
foreach (var ep in allEpisodes.Items)
{
processed++;
if (ep.LocationType.Equals("Virtual", StringComparison.InvariantCultureIgnoreCase))
{
// For some reason Emby is not respecting the `IsVirtualItem` field.
continue;
}
// Let's make sure we have the parent request, stop those pesky forign key errors,
// Damn me having data integrity
var parent = await _repo.GetByEmbyId(ep.SeriesId);

Loading…
Cancel
Save