diff options
| author | Anthony Lavado <anthony@lavado.ca> | 2020-11-02 11:10:39 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-02 11:10:39 -0500 |
| commit | 6205fb4b6a1208fadd93ef1d43668657db531768 (patch) | |
| tree | 8590affcc8a1510e1dd5658cc993c49cd5a7ac89 /Emby.Server.Implementations/Channels/ChannelManager.cs | |
| parent | f23836c6a4fea1bfafd304aaaae030cd3789dd72 (diff) | |
| parent | 5a9c218324bdd06073370c8ecfcb09a1fc7784b2 (diff) | |
Merge pull request #4341 from Bond-009/minor6
Minor improvements
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 fb1bb65a09..db44bf4898 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(); } |
