mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Update Emby.Server.Implementations/LiveTv/TunerHosts/BaseTunerHost.cs
This commit is contained in:
parent
08152d2a98
commit
e3c2a8a3be
@ -83,7 +83,7 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
var channels = await GetChannels(host, enableCache, cancellationToken).ConfigureAwait(false);
|
var channels = await GetChannels(host, enableCache, cancellationToken).ConfigureAwait(false);
|
||||||
var newChannels = channels.Where(i => !list.Any(l => string.Equals(i.Id, l.Id, StringComparison.OrdinalIgnoreCase)));
|
var newChannels = channels.Where(i => !list.Any(l => string.Equals(i.Id, l.Id, StringComparison.OrdinalIgnoreCase))).ToList();
|
||||||
|
|
||||||
list.AddRange(newChannels);
|
list.AddRange(newChannels);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user