The Free Software Media System - Server Backend & API
Fall back to using "logo" attrib if "tvg-logo" is mssing in M3U-tuner (#9475)
gittericaf611367c14e
diff --git a/Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs b/Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.csindex 046be7c5c7..f2020e05fe 100644--- a/Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs+++ b/Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs@@ -122,9 +122,13 @@ namespace Emby.Server.Implementations.LiveTv.TunerHostsvar attributes = ParseExtInf(extInf, out string remaining);extInf = remaining;- if (attributes.TryGetValue("tvg-logo", out string value))+ if (attributes.TryGetValue("tvg-logo", out string tvgLogo)){- channel.ImageUrl = value;+ channel.ImageUrl = tvgLogo;+ }+ else if (attributes.TryGetValue("logo", out string logo))+ {+ channel.ImageUrl = logo;}if (attributes.TryGetValue("group-title", out string groupTitle))