Backport pull request #11804 from jellyfin/release-10.9.z

Exclude virtual items from DateLastMediaAdded calculation

Original-merge: d89e5a0074

Merged-by: crobibero <cody@robibe.ro>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
pull/11835/head
Shadowghost 4 months ago committed by Joshua M. Boniface
parent 35bc6866d5
commit 39ae56db0a

@ -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)

Loading…
Cancel
Save