update hdhr channel ids

This commit is contained in:
Luke Pulverenti
2017-08-15 23:40:36 -04:00
parent ee5fdd4120
commit d2b86edf05
11 changed files with 31 additions and 145 deletions

View File

@@ -68,7 +68,10 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun
{
var id = ChannelIdPrefix + i.GuideNumber;
id += '_' + (i.GuideName ?? string.Empty).GetMD5().ToString("N");
if (!info.EnableNewHdhrChannelIds)
{
id += '_' + (i.GuideName ?? string.Empty).GetMD5().ToString("N");
}
return id;
}