diff --git a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs index 09504a56ca..0e98851a97 100644 --- a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs +++ b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs @@ -157,13 +157,13 @@ public sealed class BaseItemRepository( /// public IReadOnlyList GetStudioNames() { - return GetItemValueNames([ItemValueType.Studios], Array.Empty(), Array.Empty()); + return GetItemValueNames([ItemValueType.Studios], [], []); } /// public IReadOnlyList GetAllArtistNames() { - return GetItemValueNames([ItemValueType.Artist, ItemValueType.AlbumArtist], Array.Empty(), Array.Empty()); + return GetItemValueNames([ItemValueType.Artist, ItemValueType.AlbumArtist], [], []); } /// @@ -172,7 +172,7 @@ public sealed class BaseItemRepository( return GetItemValueNames( [ItemValueType.Genre], itemTypeLookup.MusicGenreTypes, - Array.Empty()); + []); } /// @@ -180,7 +180,7 @@ public sealed class BaseItemRepository( { return GetItemValueNames( [ItemValueType.Genre], - Array.Empty(), + [], itemTypeLookup.MusicGenreTypes); }