fix file modification date comparisons (#14503)

This commit is contained in:
evan314159
2025-07-28 10:08:06 +08:00
committed by GitHub
parent 536437bbe3
commit 6f49782b7b
8 changed files with 23 additions and 13 deletions

View File

@@ -56,7 +56,7 @@ public class TrickplayProvider : ICustomMetadataProvider<Episode>,
if (item.IsFileProtocol)
{
var file = directoryService.GetFile(item.Path);
if (file is not null && item.DateModified != file.LastWriteTimeUtc)
if (file is not null && item.HasChanged(file.LastWriteTimeUtc))
{
return true;
}