diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-01-18 00:55:21 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-01-18 00:55:21 -0500 |
| commit | 0f7f4674784ae76ddafc5b83ffd87add824a8191 (patch) | |
| tree | 3e78445c7984028a706477b322f99a32bfe1af06 /MediaBrowser.Controller/Entities/Folder.cs | |
| parent | 0b57b33988ddd8a450aa22186580261dee914500 (diff) | |
center guide grid
Diffstat (limited to 'MediaBrowser.Controller/Entities/Folder.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/Folder.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Entities/Folder.cs b/MediaBrowser.Controller/Entities/Folder.cs index 7910e99571..a0fefeac77 100644 --- a/MediaBrowser.Controller/Entities/Folder.cs +++ b/MediaBrowser.Controller/Entities/Folder.cs @@ -1090,5 +1090,11 @@ namespace MediaBrowser.Controller.Entities return GetRecursiveChildren(user).Where(i => !i.IsFolder && i.LocationType != LocationType.Virtual) .All(i => i.IsPlayed(user)); } + + public override bool IsUnplayed(User user) + { + return GetRecursiveChildren(user).Where(i => !i.IsFolder && i.LocationType != LocationType.Virtual) + .All(i => i.IsUnplayed(user)); + } } } |
