Initial check-in of VideoInfoProvider, although it's currently disabled.

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti
2012-08-20 15:16:51 -04:00
parent 8f024e8199
commit aae259d2cd
10 changed files with 166 additions and 60 deletions

View File

@@ -252,6 +252,16 @@ namespace MediaBrowser.Controller
);
}
// Third priority providers
providers = supportedProviders.Where(i => !i.RequiresInternet && i.Priority == MetadataProviderPriority.Third);
if (providers.Any())
{
await Task.WhenAll(
providers.Select(i => i.Fetch(item, args))
);
}
// Lowest priority providers
providers = supportedProviders.Where(i => !i.RequiresInternet && i.Priority == MetadataProviderPriority.Last);