diff options
| author | Luke <luke.pulverenti@gmail.com> | 2017-11-14 02:42:42 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-14 02:42:42 -0500 |
| commit | 0d5564649aa3a676adc842abbeecc6eff69b1ec8 (patch) | |
| tree | 0e595cfe51829827a1bcd6f6dc20392ee3816794 /MediaBrowser.Controller/Entities/Folder.cs | |
| parent | 7eab5889fc50a807edd7e216019f958bdeaf8501 (diff) | |
| parent | 2f758676d0908f07dafc3ec5434bbaf4cf82529c (diff) | |
Merge pull request #3016 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Controller/Entities/Folder.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/Folder.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Entities/Folder.cs b/MediaBrowser.Controller/Entities/Folder.cs index fb283067f..504d03a27 100644 --- a/MediaBrowser.Controller/Entities/Folder.cs +++ b/MediaBrowser.Controller/Entities/Folder.cs @@ -1421,6 +1421,16 @@ namespace MediaBrowser.Controller.Entities // Sweep through recursively and update status foreach (var item in itemsResult) { + if (item.IsVirtualItem) + { + // The querying doesn't support virtual unaired + var episode = item as Episode; + if (episode != null && episode.IsUnaired) + { + continue; + } + } + item.MarkPlayed(user, datePlayed, resetPosition); } } |
