Merge pull request #6485 from markshark05/patch-1

Update M3U Channel Name Precedence
This commit is contained in:
Claus Vium
2021-09-02 08:39:18 +02:00
committed by GitHub

View File

@@ -295,11 +295,11 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts
}
}
attributes.TryGetValue("tvg-name", out string name);
string name = nameInExtInf;
if (string.IsNullOrWhiteSpace(name))
{
name = nameInExtInf;
attributes.TryGetValue("tvg-name", out name);
}
if (string.IsNullOrWhiteSpace(name))