aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/LiveTv
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-05-27 10:30:21 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-05-27 10:30:21 -0400
commit6da117f606610337c54f5c6065590d018c84d4f8 (patch)
treeee26cdf50592aac2f844da6a6039dbfec1b5d24b /MediaBrowser.Server.Implementations/LiveTv
parent8c0388df6b6bb88c132b204389e97f78c37c483c (diff)
resize library buttons
Diffstat (limited to 'MediaBrowser.Server.Implementations/LiveTv')
-rw-r--r--MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs b/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs
index f72cfc7dff..caa058b96e 100644
--- a/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs
+++ b/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs
@@ -520,6 +520,8 @@ namespace MediaBrowser.Server.Implementations.LiveTv
{
var programChannelId = program.ExternalChannelId;
+ if (string.IsNullOrWhiteSpace(programChannelId)) return null;
+
var internalProgramChannelId = _tvDtoService.GetInternalChannelId(program.ServiceName, programChannelId);
return GetInternalChannel(internalProgramChannelId);