From caaa10e2d6d01cc5d086e1848e17ec8022ad6fd5 Mon Sep 17 00:00:00 2001 From: Jose Alacan Date: Mon, 22 Feb 2016 20:09:08 -0500 Subject: [PATCH] Make to work with current channel id values --- .../LiveTv/TunerHosts/M3uParser.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MediaBrowser.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs b/MediaBrowser.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs index ccca6a7fe3..51c35caf46 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 = ""; }