mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 12:59:39 -07:00
Fix the exception #1613
This commit is contained in:
parent
20f3239b94
commit
855941c770
1 changed files with 1 additions and 0 deletions
|
@ -120,6 +120,7 @@ namespace Ombi.Schedule.Jobs.Plex
|
||||||
private async Task ProcessEpsiodes(PlexContainer episodes, IQueryable<PlexEpisode> currentEpisodes)
|
private async Task ProcessEpsiodes(PlexContainer episodes, IQueryable<PlexEpisode> currentEpisodes)
|
||||||
{
|
{
|
||||||
var ep = new HashSet<PlexEpisode>();
|
var ep = new HashSet<PlexEpisode>();
|
||||||
|
|
||||||
foreach (var episode in episodes?.MediaContainer?.Metadata ?? new Metadata[]{})
|
foreach (var episode in episodes?.MediaContainer?.Metadata ?? new Metadata[]{})
|
||||||
{
|
{
|
||||||
// I don't think we need to get the metadata, we only need to get the metadata if we need the provider id (TheTvDbid). Why do we need it for episodes?
|
// I don't think we need to get the metadata, we only need to get the metadata if we need the provider id (TheTvDbid). Why do we need it for episodes?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue