Repository navigation
Conversation
Reuse the document cache's existing stat result so page dates are available without extra I/O or rendering. Leave unknown dates unset.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
sunlollyking
left a comment
There was a problem hiding this comment.
Looks good to me, nice that it reuses the stat the cache already does.
Description
Use the source PDF's modification date for generated page listings.
StatFile()result to retrieve the PDF's modification time.Motivation and context
PDF pages are exposed as virtual JPEG files, but previously had no associated date, causing Kodi to display
01/01/1970.Using the source PDF's modification date provides meaningful metadata for each page without changing how pages are generated or cached.
Screenshots
Note: -1.00B fixed in xbmc/xbmc#30065.
Types of change
Summary by CodeRabbit