diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-11-14 02:41:21 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-11-14 02:41:21 -0500 |
| commit | 2f758676d0908f07dafc3ec5434bbaf4cf82529c (patch) | |
| tree | 0e595cfe51829827a1bcd6f6dc20392ee3816794 /MediaBrowser.Controller/Entities/Folder.cs | |
| parent | 2c6cbb33eead0236cbf89fb4afab486aa8510647 (diff) | |
support sharing m3u tuner streams
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); } } |
