Addede VfType to DtoBaseItem

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti
2012-08-24 13:49:07 -04:00
parent cc25bd579b
commit 0ff432ea4e
4 changed files with 18 additions and 4 deletions

View File

@@ -243,12 +243,14 @@ namespace MediaBrowser.Controller
{
var provider = MetadataProviders[i];
if (!provider.Supports(item))
// Skip if internet providers are currently disabled
if (provider.RequiresInternet && (!Configuration.EnableInternetProviders || !allowInternetProviders))
{
continue;
}
if (provider.RequiresInternet && (!Configuration.EnableInternetProviders || !allowInternetProviders))
// Skip if the provider doesn't support the current item
if (!provider.Supports(item))
{
continue;
}