diff options
| author | Bond-009 <bond.009@outlook.com> | 2021-03-25 01:45:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-25 01:45:43 +0100 |
| commit | 6d0b2ed0800dbaabfd7cf79b47e9a37cd7d6eb00 (patch) | |
| tree | ddf0ac8bb316a486e80156fd9e12959b1566d73e /Emby.Server.Implementations | |
| parent | 55102973d6ab8d527a08cbfd110356f1541ed2a6 (diff) | |
| parent | 86852178c21f19944360ab0728042faa127d0128 (diff) | |
Merge pull request #5579 from cocool97/master
Diffstat (limited to 'Emby.Server.Implementations')
| -rw-r--r-- | Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs b/Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs index c4f173c7a..2af635492 100644 --- a/Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs +++ b/Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs @@ -133,6 +133,11 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts channel.ImageUrl = value; } + if (attributes.TryGetValue("group-title", out string groupTitle)) + { + channel.ChannelGroup = groupTitle; + } + channel.Name = GetChannelName(extInf, attributes); channel.Number = GetChannelNumber(extInf, attributes, mediaUrl); |
