aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/LiveTv
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-10-13 15:22:24 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-10-13 15:22:24 -0400
commit0351c968c303da53db03aa2b99051d69c45f3ab8 (patch)
tree78929c2770d585580d40fa740d9bd57cfd8dbf6d /MediaBrowser.Controller/LiveTv
parent0bc3cdfab7d15a42dadb0101d037cbf12631362b (diff)
reduce file checks during library scan
Diffstat (limited to 'MediaBrowser.Controller/LiveTv')
-rw-r--r--MediaBrowser.Controller/LiveTv/LiveTvChannel.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/LiveTv/LiveTvChannel.cs b/MediaBrowser.Controller/LiveTv/LiveTvChannel.cs
index 4a93d0399a..16010b7f5a 100644
--- a/MediaBrowser.Controller/LiveTv/LiveTvChannel.cs
+++ b/MediaBrowser.Controller/LiveTv/LiveTvChannel.cs
@@ -136,7 +136,8 @@ namespace MediaBrowser.Controller.LiveTv
Name = Name,
Path = Path,
RunTimeTicks = RunTimeTicks,
- Type = MediaSourceType.Placeholder
+ Type = MediaSourceType.Placeholder,
+ IsInfiniteStream = RunTimeTicks == null
};
list.Add(info);