diff options
| author | Thomas Gillen <thomas.gillen@googlemail.com> | 2015-09-19 22:25:19 +0100 |
|---|---|---|
| committer | Thomas Gillen <thomas.gillen@googlemail.com> | 2015-09-19 22:25:19 +0100 |
| commit | 556b34d0005dce04d6a798334fd37ba284cef3fd (patch) | |
| tree | 77df07c7bea32c42501b383901515b1a0444b86a /MediaBrowser.Controller/Providers/EpisodeInfo.cs | |
| parent | c3d6c19cc32f1ec16aa5aa1e1691a9d101c1251c (diff) | |
Re-designed item identity providers
Diffstat (limited to 'MediaBrowser.Controller/Providers/EpisodeInfo.cs')
| -rw-r--r-- | MediaBrowser.Controller/Providers/EpisodeInfo.cs | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/MediaBrowser.Controller/Providers/EpisodeInfo.cs b/MediaBrowser.Controller/Providers/EpisodeInfo.cs index 88a7cbab7f..28abd636a2 100644 --- a/MediaBrowser.Controller/Providers/EpisodeInfo.cs +++ b/MediaBrowser.Controller/Providers/EpisodeInfo.cs @@ -1,15 +1,10 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; namespace MediaBrowser.Controller.Providers { - public class EpisodeInfo : ItemLookupInfo, IHasIdentities<EpisodeIdentity> + public class EpisodeInfo : ItemLookupInfo { - private List<EpisodeIdentity> _identities = new List<EpisodeIdentity>(); - public Dictionary<string, string> SeriesProviderIds { get; set; } public int? IndexNumberEnd { get; set; } @@ -19,16 +14,5 @@ namespace MediaBrowser.Controller.Providers { SeriesProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); } - - public IEnumerable<EpisodeIdentity> Identities - { - get { return _identities; } - } - - public async Task FindIdentities(IProviderManager providerManager, CancellationToken cancellationToken) - { - var identifier = new ItemIdentifier<EpisodeInfo, EpisodeIdentity>(); - _identities = (await identifier.FindIdentities(this, providerManager, cancellationToken)).ToList(); - } } }
\ No newline at end of file |
