aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/LiveTv/Listings
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-08-19 13:58:41 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-08-19 13:58:41 -0400
commit2c050d05f8872da16d4b634a13d73b88ca5bafd4 (patch)
treee107343837284df81c709fdd8987b7cb62646d20 /MediaBrowser.Server.Implementations/LiveTv/Listings
parente5aea2b622d36e38380ac7e97bfb653931253e77 (diff)
add base tuner host
Diffstat (limited to 'MediaBrowser.Server.Implementations/LiveTv/Listings')
-rw-r--r--MediaBrowser.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs b/MediaBrowser.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs
index 230a797756..66053041cd 100644
--- a/MediaBrowser.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs
+++ b/MediaBrowser.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs
@@ -348,6 +348,11 @@ namespace MediaBrowser.Server.Implementations.LiveTv.Listings
{
info.Genres = details.genres.Where(g => !string.IsNullOrWhiteSpace(g)).ToList();
info.IsNews = details.genres.Contains("news", StringComparer.OrdinalIgnoreCase);
+
+ if (info.Genres.Contains("children", StringComparer.OrdinalIgnoreCase))
+ {
+ info.IsKids = true;
+ }
}
return info;