aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Data/SqliteItemRepository.cs
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2021-12-14 15:10:40 -0700
committerCody Robibero <cody@robibe.ro>2021-12-14 15:10:40 -0700
commit87439665d782a7a0f24d4015d53d584e66e40c2f (patch)
tree0286a2c4f80c76eea6c03cd196d3f06ea5a513de /Emby.Server.Implementations/Data/SqliteItemRepository.cs
parent0edf77994ac7f1890b22d828c54f91b8f4ca1486 (diff)
Use array instead of HashSet
Diffstat (limited to 'Emby.Server.Implementations/Data/SqliteItemRepository.cs')
-rw-r--r--Emby.Server.Implementations/Data/SqliteItemRepository.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/Emby.Server.Implementations/Data/SqliteItemRepository.cs b/Emby.Server.Implementations/Data/SqliteItemRepository.cs
index 7731eb694..48c3710cb 100644
--- a/Emby.Server.Implementations/Data/SqliteItemRepository.cs
+++ b/Emby.Server.Implementations/Data/SqliteItemRepository.cs
@@ -196,7 +196,7 @@ namespace Emby.Server.Implementations.Data
private static readonly string _mediaAttachmentInsertPrefix;
- private static readonly HashSet<BaseItemKind> _programTypes = new()
+ private static readonly BaseItemKind[] _programTypes = new[]
{
BaseItemKind.Program,
BaseItemKind.TvChannel,
@@ -204,7 +204,7 @@ namespace Emby.Server.Implementations.Data
BaseItemKind.LiveTvChannel
};
- private static readonly HashSet<BaseItemKind> _programExcludeParentTypes = new()
+ private static readonly BaseItemKind[] _programExcludeParentTypes = new[]
{
BaseItemKind.Series,
BaseItemKind.Season,
@@ -213,19 +213,19 @@ namespace Emby.Server.Implementations.Data
BaseItemKind.PhotoAlbum
};
- private static readonly HashSet<BaseItemKind> _serviceTypes = new()
+ private static readonly BaseItemKind[] _serviceTypes = new[]
{
BaseItemKind.TvChannel,
BaseItemKind.LiveTvChannel
};
- private static readonly HashSet<BaseItemKind> _startDateTypes = new()
+ private static readonly BaseItemKind[] _startDateTypes = new[]
{
BaseItemKind.Program,
BaseItemKind.LiveTvProgram
};
- private static readonly HashSet<BaseItemKind> _seriesTypes = new()
+ private static readonly BaseItemKind[] _seriesTypes = new[]
{
BaseItemKind.Book,
BaseItemKind.AudioBook,
@@ -233,14 +233,14 @@ namespace Emby.Server.Implementations.Data
BaseItemKind.Season
};
- private static readonly HashSet<BaseItemKind> _artistExcludeParentTypes = new()
+ private static readonly BaseItemKind[] _artistExcludeParentTypes = new[]
{
BaseItemKind.Series,
BaseItemKind.Season,
BaseItemKind.PhotoAlbum
};
- private static readonly HashSet<BaseItemKind> _artistsTypes = new()
+ private static readonly BaseItemKind[] _artistsTypes = new[]
{
BaseItemKind.Audio,
BaseItemKind.MusicAlbum,