Exclude virtual items from DateLastMediaAdded calculation (#11804)

pull/11830/head
Tim Eisele 4 months ago committed by GitHub
parent 4a54e5ddeb
commit d89e5a0074
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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