Merge pull request #6485 from markshark05/patch-1

Update M3U Channel Name Precedence
pull/6177/head
Claus Vium 3 years ago committed by GitHub
commit ffef1baa2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save