diff options
| author | Claus Vium <cvium@users.noreply.github.com> | 2021-12-15 08:38:39 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-15 08:38:39 +0100 |
| commit | 9a0618552b87241537590e77c70cfdbac2b0b8ce (patch) | |
| tree | efc0d946cd6fc9db7b09e85cfa4185120e007c57 /Emby.Server.Implementations/Channels/ChannelPostScanTask.cs | |
| parent | c3c4dc6839d19cda8b0ea3cdcdc84547a713506d (diff) | |
| parent | 4a58582ad588eae0571eb6e7f1c830d5550709ea (diff) | |
Merge branch 'master' into what_could_go_wrong
Diffstat (limited to 'Emby.Server.Implementations/Channels/ChannelPostScanTask.cs')
| -rw-r--r-- | Emby.Server.Implementations/Channels/ChannelPostScanTask.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Channels/ChannelPostScanTask.cs b/Emby.Server.Implementations/Channels/ChannelPostScanTask.cs index 2391eed42..b358ba4d5 100644 --- a/Emby.Server.Implementations/Channels/ChannelPostScanTask.cs +++ b/Emby.Server.Implementations/Channels/ChannelPostScanTask.cs @@ -2,6 +2,7 @@ using System; using System.Linq; using System.Threading; using System.Threading.Tasks; +using Jellyfin.Data.Enums; using MediaBrowser.Controller.Channels; using MediaBrowser.Controller.Entities; using MediaBrowser.Controller.Library; @@ -51,7 +52,7 @@ namespace Emby.Server.Implementations.Channels var uninstalledChannels = _libraryManager.GetItemList(new InternalItemsQuery { - IncludeItemTypes = new[] { nameof(Channel) }, + IncludeItemTypes = new[] { BaseItemKind.Channel }, ExcludeItemIds = installedChannelIds.ToArray() }); |
