Procházet zdrojové kódy

Make to work with current channel id values

Jose Alacan před 9 roky
rodič
revize
caaa10e2d6

+ 2 - 1
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 = "";
                 }