diff options
| author | LIAUD <corentin.liaud@orange.fr> | 2021-03-20 20:15:19 +0100 |
|---|---|---|
| committer | LIAUD <corentin.liaud@orange.fr> | 2021-03-20 20:15:19 +0100 |
| commit | 32853ca2441d4b730258e6911faa56eba608dc1d (patch) | |
| tree | bcbd28885031b04f95d014bb003c0d1311c294db /Emby.Server.Implementations | |
| parent | 9fe3ca7a92ac12ebb0fc88c5458bc8568458a478 (diff) | |
Add 'group-title' channel parsing
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); |
