mirror of https://github.com/jellyfin/jellyfin
fix ProbeProvider.HasChanged: if file date changed (#14674)
This commit is contained in:
parent
0b465842c8
commit
e753adac2c
|
|
@ -130,7 +130,7 @@ namespace MediaBrowser.Providers.MediaInfo
|
|||
if (!string.IsNullOrWhiteSpace(path) && item.IsFileProtocol)
|
||||
{
|
||||
var file = directoryService.GetFile(path);
|
||||
if (file is not null && item.HasChanged(file.LastWriteTimeUtc) && file.Length != item.Size)
|
||||
if (file is not null && item.HasChanged(file.LastWriteTimeUtc))
|
||||
{
|
||||
_logger.LogDebug("Refreshing {ItemPath} due to file system modification.", path);
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue