mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
use tvdb updates for virtual episodes
This commit is contained in:
parent
de31f23194
commit
f3ecfc4e05
@ -118,12 +118,18 @@ namespace MediaBrowser.Providers.TV
|
||||
/// <param name="providerInfo">The provider info.</param>
|
||||
/// <returns><c>true</c> if XXXX, <c>false</c> otherwise</returns>
|
||||
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
|
||||
if (!ConfigurationManager.Configuration.EnableTvDbUpdates && HasLocalMeta(item))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return base.NeedsRefreshInternal(item, providerInfo);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user