mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
Merge pull request #16046 from theguymadmax/restore-weekly-images
Restore weekly refresh for library folder images
This commit is contained in:
commit
338b480217
1 changed files with 6 additions and 0 deletions
|
|
@ -98,5 +98,11 @@ namespace Emby.Server.Implementations.Images
|
|||
|
||||
return base.CreateImage(item, itemsWithImages, outputPath, imageType, imageIndex);
|
||||
}
|
||||
|
||||
protected override bool HasChangedByDate(BaseItem item, ItemImageInfo image)
|
||||
{
|
||||
var age = DateTime.UtcNow - image.DateModified;
|
||||
return age.TotalDays > 7;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue