use tvdb updates for virtual episodes

pull/702/head
Luke Pulverenti 11 years ago
parent de31f23194
commit f3ecfc4e05

@ -118,12 +118,18 @@ namespace MediaBrowser.Providers.TV
/// <param name="providerInfo">The provider info.</param> /// <param name="providerInfo">The provider info.</param>
/// <returns><c>true</c> if XXXX, <c>false</c> otherwise</returns> /// <returns><c>true</c> if XXXX, <c>false</c> otherwise</returns>
protected override bool NeedsRefreshInternal(BaseItem item, BaseProviderInfo providerInfo) protected override bool NeedsRefreshInternal(BaseItem item, BaseProviderInfo providerInfo)
{
var locationType = item.LocationType;
// Always use tvdb updates for non-file system episodes
if (locationType != LocationType.Remote && locationType != LocationType.Virtual)
{ {
// Don't proceed if there's local metadata // Don't proceed if there's local metadata
if (!ConfigurationManager.Configuration.EnableTvDbUpdates && HasLocalMeta(item)) if (!ConfigurationManager.Configuration.EnableTvDbUpdates && HasLocalMeta(item))
{ {
return false; return false;
} }
}
return base.NeedsRefreshInternal(item, providerInfo); return base.NeedsRefreshInternal(item, providerInfo);
} }

Loading…
Cancel
Save