using MediaBrowser.Controller.Entities; using MediaBrowser.Controller.Entities.Movies; using MediaBrowser.Controller.IO; using MediaBrowser.Controller.Library; using System.Collections.Generic; using System.ComponentModel.Composition; using System.IO; using System.Threading.Tasks; namespace MediaBrowser.Controller.Providers.Movies { [Export(typeof(BaseMetadataProvider))] public class MovieSpecialFeaturesProvider : BaseMetadataProvider { public override bool Supports(BaseEntity item) { return item is Movie; } public override MetadataProviderPriority Priority { get { return MetadataProviderPriority.First; } } public async override Task FetchAsync(BaseEntity item, ItemResolveEventArgs args) { if (args.ContainsFolder("specials")) { var items = new List