Update Emby.Server.Implementations/LiveTv/TunerHosts/BaseTunerHost.cs

This commit is contained in:
Claus Vium authored and GitHub committed 2021-08-16 08:52:16 +02:00
1 parent 08152d2a98
commit e3c2a8a3be
1 file changed
+1 -1
@@ -83,7 +83,7 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts
try
{
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);