mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-25 10:46:24 +00:00
store chapter image date modified
This commit is contained in:
parent
8629d509e4
commit
3c6797678b
6 changed files with 19 additions and 6 deletions
|
|
@ -152,6 +152,7 @@ namespace MediaBrowser.Server.Implementations.MediaEncoder
|
|||
}
|
||||
|
||||
chapter.ImagePath = path;
|
||||
chapter.ImageDateModified = _fileSystem.GetLastWriteTimeUtc(path);
|
||||
changesMade = true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
|
@ -170,6 +171,7 @@ namespace MediaBrowser.Server.Implementations.MediaEncoder
|
|||
else if (!string.Equals(path, chapter.ImagePath, StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
chapter.ImagePath = path;
|
||||
chapter.ImageDateModified = _fileSystem.GetLastWriteTimeUtc(path);
|
||||
changesMade = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue