From f3ecfc4e058d4222fb13112e40f717e7b0c6eb73 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Fri, 25 Oct 2013 12:14:32 -0400 Subject: [PATCH] use tvdb updates for virtual episodes --- MediaBrowser.Providers/TV/RemoteEpisodeProvider.cs | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/MediaBrowser.Providers/TV/RemoteEpisodeProvider.cs b/MediaBrowser.Providers/TV/RemoteEpisodeProvider.cs index e2a797a4e6..e8b4b0f3de 100644 --- a/MediaBrowser.Providers/TV/RemoteEpisodeProvider.cs +++ b/MediaBrowser.Providers/TV/RemoteEpisodeProvider.cs @@ -119,10 +119,16 @@ namespace MediaBrowser.Providers.TV /// true if XXXX, false otherwise protected override bool NeedsRefreshInternal(BaseItem item, BaseProviderInfo providerInfo) { - // Don't proceed if there's local metadata - if (!ConfigurationManager.Configuration.EnableTvDbUpdates && HasLocalMeta(item)) + var locationType = item.LocationType; + + // Always use tvdb updates for non-file system episodes + if (locationType != LocationType.Remote && locationType != LocationType.Virtual) { - return false; + // Don't proceed if there's local metadata + if (!ConfigurationManager.Configuration.EnableTvDbUpdates && HasLocalMeta(item)) + { + return false; + } } return base.NeedsRefreshInternal(item, providerInfo);