aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Channels/ChannelManager.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-11-03 07:05:58 -0700
committercrobibero <cody@robibe.ro>2020-11-03 07:05:58 -0700
commit5d88e610768c8b680096938a372585638ef18fe3 (patch)
tree28cf4327a0cb19d6025f8fd426351becbb80b085 /Emby.Server.Implementations/Channels/ChannelManager.cs
parent0c674b496f3f4503b6d45c763aadc9b1c5d2735d (diff)
parent8fc16043c7c080afd31f67798b74ccdf62eb583c (diff)
Merge remote-tracking branch 'upstream/master' into livetv-ts-fix
Diffstat (limited to 'Emby.Server.Implementations/Channels/ChannelManager.cs')
-rw-r--r--Emby.Server.Implementations/Channels/ChannelManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Channels/ChannelManager.cs b/Emby.Server.Implementations/Channels/ChannelManager.cs
index fb1bb65a0..db44bf489 100644
--- a/Emby.Server.Implementations/Channels/ChannelManager.cs
+++ b/Emby.Server.Implementations/Channels/ChannelManager.cs
@@ -543,7 +543,7 @@ namespace Emby.Server.Implementations.Channels
return _libraryManager.GetItemIds(
new InternalItemsQuery
{
- IncludeItemTypes = new[] { typeof(Channel).Name },
+ IncludeItemTypes = new[] { nameof(Channel) },
OrderBy = new[] { (ItemSortBy.SortName, SortOrder.Ascending) }
}).Select(i => GetChannelFeatures(i.ToString("N", CultureInfo.InvariantCulture))).ToArray();
}