mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-18 08:06:35 +00:00
Exclude virtual items from DateLastMediaAdded calculation (#11804)
This commit is contained in:
@@ -398,7 +398,8 @@ namespace MediaBrowser.Providers.Manager
|
||||
|
||||
foreach (var child in children)
|
||||
{
|
||||
if (!child.IsFolder)
|
||||
// Exclude any folders and virtual items since they are only placeholders
|
||||
if (!child.IsFolder && !child.IsVirtualItem)
|
||||
{
|
||||
var childDateCreated = child.DateCreated;
|
||||
if (childDateCreated > dateLastMediaAdded)
|
||||
|
||||
Reference in New Issue
Block a user