diff options
| author | Bond-009 <bond.009@outlook.com> | 2021-09-03 16:17:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-03 16:17:02 +0200 |
| commit | 79e51b7fa20dbcb013ddd335fa829f83802dae71 (patch) | |
| tree | 046d44c729b1f6b3a2370c78403517daa0a174d6 /Emby.Server.Implementations/Channels/ChannelManager.cs | |
| parent | 2f360151c266ff0885589338fdcdebd2a0c57fae (diff) | |
| parent | bfb37a9ed9989f63ee8b00f41f4efef7a92fc157 (diff) | |
Merge pull request #6475 from crobibero/warn-259810
Remove more and more warnings
Diffstat (limited to 'Emby.Server.Implementations/Channels/ChannelManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Channels/ChannelManager.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Emby.Server.Implementations/Channels/ChannelManager.cs b/Emby.Server.Implementations/Channels/ChannelManager.cs index aa54510a7..41d1f9b39 100644 --- a/Emby.Server.Implementations/Channels/ChannelManager.cs +++ b/Emby.Server.Implementations/Channels/ChannelManager.cs @@ -102,7 +102,7 @@ namespace Emby.Server.Implementations.Channels var internalChannel = _libraryManager.GetItemById(item.ChannelId); var channel = Channels.FirstOrDefault(i => GetInternalChannelId(i.Name).Equals(internalChannel.Id)); - return !(channel is IDisableMediaSourceDisplay); + return channel is not IDisableMediaSourceDisplay; } /// <inheritdoc /> @@ -1079,11 +1079,11 @@ namespace Emby.Server.Implementations.Channels // was used for status // if (!string.Equals(item.ExternalEtag ?? string.Empty, info.Etag ?? string.Empty, StringComparison.Ordinal)) - //{ + // { // item.ExternalEtag = info.Etag; // forceUpdate = true; // _logger.LogDebug("Forcing update due to ExternalEtag {0}", item.Name); - //} + // } if (!internalChannelId.Equals(item.ChannelId)) { |
