aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-03-18 21:40:13 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-03-18 21:40:13 -0400
commitbd06308f2c8f33eb646ea07a38157c5a8239ee59 (patch)
tree152cce00173071fd575bb1b1bfe45d3f37022207
parent7514deeb530c442ce64196084e28a752961eb88d (diff)
update tv tabs
-rw-r--r--MediaBrowser.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs b/MediaBrowser.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs
index f8f003fa1..ffe95c862 100644
--- a/MediaBrowser.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs
+++ b/MediaBrowser.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs
@@ -68,7 +68,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv.TunerHosts
extInf = line.Substring(8).Trim();
_logger.Info("Found m3u channel: {0}", extInf);
}
- else if (!string.IsNullOrWhiteSpace(extInf))
+ else if (!string.IsNullOrWhiteSpace(extInf) && !line.StartsWith("#", StringComparison.OrdinalIgnoreCase))
{
var channel = GetChannelnfo(extInf, tunerHostId);
channel.Id = channelIdPrefix + urlHash + line.GetMD5().ToString("N");