Exclude virtual items from DateLastMediaAdded calculation (#11804)
This commit is contained in:
parent
4a54e5ddeb
commit
d89e5a0074
|
@ -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…
Reference in New Issue
Block a user