pull/7742/merge
Stevie Robinson 4 weeks ago committed by GitHub
commit 2a9e7cd695
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,3 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using NzbDrone.Core.Languages;
@ -23,6 +24,7 @@ namespace NzbDrone.Core.Notifications.Webhook
CustomFormats = remoteEpisode.CustomFormats?.Select(x => x.Name).ToList();
CustomFormatScore = remoteEpisode.CustomFormatScore;
Languages = remoteEpisode.Languages;
IndexerFlags = Enum.GetValues(typeof(IndexerFlags)).Cast<IndexerFlags>().Where(r => (remoteEpisode.Release.IndexerFlags & r) == r).Select(r => r.ToString()).ToList();
}
public string Quality { get; set; }
@ -34,5 +36,6 @@ namespace NzbDrone.Core.Notifications.Webhook
public int CustomFormatScore { get; set; }
public List<string> CustomFormats { get; set; }
public List<Language> Languages { get; set; }
public List<string> IndexerFlags { get; set; }
}
}

Loading…
Cancel
Save