diff options
| author | crobibero <cody@robibe.ro> | 2020-11-02 10:29:18 -0700 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-11-02 10:29:18 -0700 |
| commit | f8e6edbfeb8c437c2ed0a9c9b44bed0fc105b2c2 (patch) | |
| tree | 67747afc55cc2ad162e533a6ba4141b65a3e55b8 /Emby.Server.Implementations/Channels/ChannelManager.cs | |
| parent | 11d69fd3b1c25927c1046c4a095a3bd9f29fa722 (diff) | |
| parent | b1b43b8ad9e6ecc905e1ff4270d4844494ed3039 (diff) | |
Merge remote-tracking branch 'upstream/master' into query-fields
Diffstat (limited to 'Emby.Server.Implementations/Channels/ChannelManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Channels/ChannelManager.cs | 2 |
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(); } |
