mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 22:07:13 -04:00
Adding support for "tvg-chno"-Tag in M3U Channel Lists
This commit is contained in:
parent
eb4b705167
commit
86089ec03a
@ -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…
Reference in New Issue
Block a user