mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-11 19:43:07 +03:00
fix file modification date comparisons (#14503)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user