aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Alacan <samurayx89@gmail.com>2016-02-22 20:09:08 -0500
committerJose Alacan <samurayx89@gmail.com>2016-02-22 20:09:08 -0500
commitcaaa10e2d6d01cc5d086e1848e17ec8022ad6fd5 (patch)
treebda5b5235338ee6fa0aba9511061a5dbc941a192
parent05db0cde889c9f42f5b001f314aeb135e26f9284 (diff)
Make to work with current channel id values
-rw-r--r--MediaBrowser.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs b/MediaBrowser.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs
index ccca6a7fe..51c35caf4 100644
--- a/MediaBrowser.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs
+++ b/MediaBrowser.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs
@@ -71,7 +71,8 @@ namespace MediaBrowser.Server.Implementations.LiveTv.TunerHosts
else if (!string.IsNullOrWhiteSpace(extInf))
{
var channel = GetChannelnfo(extInf);
- channel.Id = line;
+ channel.Id = channelIdPrefix + urlHash + line.GetMD5().ToString("N");
+ channel.Path = line;
channels.Add(channel);
extInf = "";
}