aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/LiveTv/Listings
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-12-09 20:58:52 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-12-09 20:58:52 -0500
commite936f49518bcd6e28d44600d58205fee9c1e21fd (patch)
tree62828cb9dbfb9f68b1241a99079b5c152de4d3cc /Emby.Server.Implementations/LiveTv/Listings
parentc7d520555b8fe6eacc0ed7ac384b6f16358a38ae (diff)
update use of shellexecute
Diffstat (limited to 'Emby.Server.Implementations/LiveTv/Listings')
-rw-r--r--Emby.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs b/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs
index 7beaed338b..04fc78c958 100644
--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs
+++ b/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs
@@ -213,7 +213,7 @@ namespace Emby.Server.Implementations.LiveTv.Listings
{
ScheduleDirect.Station station;
- if (channelPair.TryGetValue(channelNumber, out station))
+ if (!string.IsNullOrWhiteSpace(channelNumber) && channelPair.TryGetValue(channelNumber, out station))
{
return station;
}