mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 14:08:44 -04:00
Adding support for "tvg-chno"-Tag in M3U Channel Lists
This commit is contained in:
parent
eb4b705167
commit
86089ec03a
1 changed files with 8 additions and 0 deletions
|
@ -204,6 +204,14 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts
|
|||
}
|
||||
}
|
||||
|
||||
if (!IsValidChannelNumber(numberString))
|
||||
{
|
||||
if (attributes.TryGetValue("tvg-chno", out string value))
|
||||
{
|
||||
numberString = value;
|
||||
}
|
||||
}
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(numberString))
|
||||
{
|
||||
numberString = numberString.Trim();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue