|
|
|
@ -171,10 +171,13 @@ namespace MediaBrowser.Providers.MediaInfo
|
|
|
|
|
|
|
|
|
|
public bool HasChanged(IHasMetadata item, IDirectoryService directoryService)
|
|
|
|
|
{
|
|
|
|
|
var file = directoryService.GetFile(item.Path);
|
|
|
|
|
if (file != null && file.LastWriteTimeUtc != item.DateModified)
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(item.Path))
|
|
|
|
|
{
|
|
|
|
|
return true;
|
|
|
|
|
var file = directoryService.GetFile(item.Path);
|
|
|
|
|
if (file != null && file.LastWriteTimeUtc != item.DateModified)
|
|
|
|
|
{
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (item.SupportsLocalMetadata)
|
|
|
|
|