|
|
|
@ -24,7 +24,7 @@ namespace MediaBrowser.Providers.TV
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Class RemoteEpisodeProvider
|
|
|
|
|
/// </summary>
|
|
|
|
|
class TvdbEpisodeProvider : IRemoteMetadataProvider<Episode, EpisodeInfo>, IItemIdentityProvider<EpisodeInfo>, IHasChangeMonitor
|
|
|
|
|
class TvdbEpisodeProvider : IRemoteMetadataProvider<Episode, EpisodeInfo>, IItemIdentityProvider<EpisodeInfo>, IHasItemChangeMonitor
|
|
|
|
|
{
|
|
|
|
|
private static readonly string FullIdKey = MetadataProviders.Tvdb + "-Full";
|
|
|
|
|
|
|
|
|
@ -144,7 +144,7 @@ namespace MediaBrowser.Providers.TV
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public bool HasChanged(IHasMetadata item, IDirectoryService directoryService, DateTime date)
|
|
|
|
|
public bool HasChanged(IHasMetadata item, IDirectoryService directoryService)
|
|
|
|
|
{
|
|
|
|
|
// Only enable for virtual items
|
|
|
|
|
if (item.LocationType != LocationType.Virtual)
|
|
|
|
@ -160,7 +160,7 @@ namespace MediaBrowser.Providers.TV
|
|
|
|
|
// Process images
|
|
|
|
|
var seriesXmlPath = TvdbSeriesProvider.Current.GetSeriesXmlPath(series.ProviderIds, series.GetPreferredMetadataLanguage());
|
|
|
|
|
|
|
|
|
|
return _fileSystem.GetLastWriteTimeUtc(seriesXmlPath) > date;
|
|
|
|
|
return _fileSystem.GetLastWriteTimeUtc(seriesXmlPath) > item.DateLastRefreshed;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|