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
@ -119,10 +119,16 @@ namespace MediaBrowser.Providers.TV
|
|||||||
/// <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)
|
||||||
{
|
{
|
||||||
// Don't proceed if there's local metadata
|
var locationType = item.LocationType;
|
||||||
if (!ConfigurationManager.Configuration.EnableTvDbUpdates && HasLocalMeta(item))
|
|
||||||
|
// 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);
|
return base.NeedsRefreshInternal(item, providerInfo);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user