[PR #6979] [MERGED] Use BaseItemKind where possible #11214

Closed
opened 2026-02-07 06:34:24 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/6979
Author: @crobibero
Created: 12/12/2021
Status: Merged
Merged: 12/15/2021
Merged by: @cvium

Base: masterHead: baseitemkind


📝 Commits (3)

  • 32629cd Use BaseItemKind where possible
  • 0edf779 Cache BaseItemKind
  • 8743966 Use array instead of HashSet

📊 Changes

53 files changed (+308 additions, -355 deletions)

View changed files

📝 Emby.Dlna/ContentDirectory/ControlHandler.cs (+23 -23)
📝 Emby.Server.Implementations/Channels/ChannelManager.cs (+1 -1)
📝 Emby.Server.Implementations/Channels/ChannelPostScanTask.cs (+2 -1)
📝 Emby.Server.Implementations/Data/SqliteItemRepository.cs (+61 -78)
📝 Emby.Server.Implementations/Dto/DtoService.cs (+1 -1)
📝 Emby.Server.Implementations/Images/CollectionFolderImageProvider.cs (+8 -8)
📝 Emby.Server.Implementations/Images/DynamicImageProvider.cs (+2 -1)
📝 Emby.Server.Implementations/Images/GenreImageProvider.cs (+1 -1)
📝 Emby.Server.Implementations/Images/MusicGenreImageProvider.cs (+3 -3)
📝 Emby.Server.Implementations/Library/LibraryManager.cs (+1 -1)
📝 Emby.Server.Implementations/Library/MusicManager.cs (+2 -2)
📝 Emby.Server.Implementations/Library/SearchEngine.cs (+23 -23)
📝 Emby.Server.Implementations/Library/UserViewManager.cs (+8 -8)
📝 Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs (+2 -1)
📝 Emby.Server.Implementations/Library/Validators/CollectionPostScanTask.cs (+2 -2)
📝 Emby.Server.Implementations/Library/Validators/PeopleValidator.cs (+2 -1)
📝 Emby.Server.Implementations/Library/Validators/StudiosValidator.cs (+2 -1)
📝 Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs (+7 -7)
📝 Emby.Server.Implementations/LiveTv/LiveTvDtoService.cs (+6 -5)
📝 Emby.Server.Implementations/LiveTv/LiveTvManager.cs (+14 -14)

...and 33 more files

📄 Description

Got a little big...


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/6979 **Author:** [@crobibero](https://github.com/crobibero) **Created:** 12/12/2021 **Status:** ✅ Merged **Merged:** 12/15/2021 **Merged by:** [@cvium](https://github.com/cvium) **Base:** `master` ← **Head:** `baseitemkind` --- ### 📝 Commits (3) - [`32629cd`](https://github.com/jellyfin/jellyfin/commit/32629cd7da0a39962009bffd9389a660c196f541) Use BaseItemKind where possible - [`0edf779`](https://github.com/jellyfin/jellyfin/commit/0edf77994ac7f1890b22d828c54f91b8f4ca1486) Cache BaseItemKind - [`8743966`](https://github.com/jellyfin/jellyfin/commit/87439665d782a7a0f24d4015d53d584e66e40c2f) Use array instead of HashSet ### 📊 Changes **53 files changed** (+308 additions, -355 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Dlna/ContentDirectory/ControlHandler.cs` (+23 -23) 📝 `Emby.Server.Implementations/Channels/ChannelManager.cs` (+1 -1) 📝 `Emby.Server.Implementations/Channels/ChannelPostScanTask.cs` (+2 -1) 📝 `Emby.Server.Implementations/Data/SqliteItemRepository.cs` (+61 -78) 📝 `Emby.Server.Implementations/Dto/DtoService.cs` (+1 -1) 📝 `Emby.Server.Implementations/Images/CollectionFolderImageProvider.cs` (+8 -8) 📝 `Emby.Server.Implementations/Images/DynamicImageProvider.cs` (+2 -1) 📝 `Emby.Server.Implementations/Images/GenreImageProvider.cs` (+1 -1) 📝 `Emby.Server.Implementations/Images/MusicGenreImageProvider.cs` (+3 -3) 📝 `Emby.Server.Implementations/Library/LibraryManager.cs` (+1 -1) 📝 `Emby.Server.Implementations/Library/MusicManager.cs` (+2 -2) 📝 `Emby.Server.Implementations/Library/SearchEngine.cs` (+23 -23) 📝 `Emby.Server.Implementations/Library/UserViewManager.cs` (+8 -8) 📝 `Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs` (+2 -1) 📝 `Emby.Server.Implementations/Library/Validators/CollectionPostScanTask.cs` (+2 -2) 📝 `Emby.Server.Implementations/Library/Validators/PeopleValidator.cs` (+2 -1) 📝 `Emby.Server.Implementations/Library/Validators/StudiosValidator.cs` (+2 -1) 📝 `Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs` (+7 -7) 📝 `Emby.Server.Implementations/LiveTv/LiveTvDtoService.cs` (+6 -5) 📝 `Emby.Server.Implementations/LiveTv/LiveTvManager.cs` (+14 -14) _...and 33 more files_ </details> ### 📄 Description Got a little big... --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:34:24 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#11214