[PR #7029] [MERGED] Use our own Contains extension #11235

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

📋 Pull Request Information

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

Base: masterHead: allocations_maybe


📝 Commits (1)

  • b880dc8 Use our own Contains extension

📊 Changes

88 files changed (+169 additions, -208 deletions)

View changed files

📝 Emby.Dlna/ContentDirectory/ControlHandler.cs (+0 -8)
📝 Emby.Dlna/DlnaManager.cs (+0 -1)
📝 Emby.Naming/AudioBook/AudioBookResolver.cs (+2 -2)
📝 Emby.Naming/Subtitles/SubtitleParser.cs (+6 -5)
📝 Emby.Naming/TV/EpisodeResolver.cs (+2 -2)
📝 Emby.Naming/TV/SeriesPathParser.cs (+0 -1)
📝 Emby.Naming/Video/CleanStringParser.cs (+0 -1)
📝 Emby.Naming/Video/FileStack.cs (+2 -2)
📝 Emby.Naming/Video/StubResolver.cs (+2 -2)
📝 Emby.Notifications/NotificationEntryPoint.cs (+2 -1)
📝 Emby.Photos/PhotoProvider.cs (+2 -1)
📝 Emby.Server.Implementations/AppBase/ConfigurationHelper.cs (+0 -1)
📝 Emby.Server.Implementations/Channels/ChannelManager.cs (+4 -3)
📝 Emby.Server.Implementations/Data/BaseSqliteRepository.cs (+2 -2)
📝 Emby.Server.Implementations/Dto/DtoService.cs (+2 -2)
📝 Emby.Server.Implementations/EntryPoints/ExternalPortForwarding.cs (+0 -1)
📝 Emby.Server.Implementations/HttpServer/Security/AuthService.cs (+0 -1)
📝 Emby.Server.Implementations/Images/DynamicImageProvider.cs (+2 -1)
📝 Emby.Server.Implementations/Images/GenreImageProvider.cs (+0 -2)
📝 Emby.Server.Implementations/Library/MediaStreamSelector.cs (+8 -7)

...and 68 more files

📄 Description

Our own Contains extension contains an optimization that System.Linq doesn't. Also removed some unused usings.


🔄 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/7029 **Author:** [@cvium](https://github.com/cvium) **Created:** 12/20/2021 **Status:** ✅ Merged **Merged:** 12/24/2021 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `master` ← **Head:** `allocations_maybe` --- ### 📝 Commits (1) - [`b880dc8`](https://github.com/jellyfin/jellyfin/commit/b880dc8a4a2d1820c6063f441edce42ab399d79e) Use our own Contains extension ### 📊 Changes **88 files changed** (+169 additions, -208 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Dlna/ContentDirectory/ControlHandler.cs` (+0 -8) 📝 `Emby.Dlna/DlnaManager.cs` (+0 -1) 📝 `Emby.Naming/AudioBook/AudioBookResolver.cs` (+2 -2) 📝 `Emby.Naming/Subtitles/SubtitleParser.cs` (+6 -5) 📝 `Emby.Naming/TV/EpisodeResolver.cs` (+2 -2) 📝 `Emby.Naming/TV/SeriesPathParser.cs` (+0 -1) 📝 `Emby.Naming/Video/CleanStringParser.cs` (+0 -1) 📝 `Emby.Naming/Video/FileStack.cs` (+2 -2) 📝 `Emby.Naming/Video/StubResolver.cs` (+2 -2) 📝 `Emby.Notifications/NotificationEntryPoint.cs` (+2 -1) 📝 `Emby.Photos/PhotoProvider.cs` (+2 -1) 📝 `Emby.Server.Implementations/AppBase/ConfigurationHelper.cs` (+0 -1) 📝 `Emby.Server.Implementations/Channels/ChannelManager.cs` (+4 -3) 📝 `Emby.Server.Implementations/Data/BaseSqliteRepository.cs` (+2 -2) 📝 `Emby.Server.Implementations/Dto/DtoService.cs` (+2 -2) 📝 `Emby.Server.Implementations/EntryPoints/ExternalPortForwarding.cs` (+0 -1) 📝 `Emby.Server.Implementations/HttpServer/Security/AuthService.cs` (+0 -1) 📝 `Emby.Server.Implementations/Images/DynamicImageProvider.cs` (+2 -1) 📝 `Emby.Server.Implementations/Images/GenreImageProvider.cs` (+0 -2) 📝 `Emby.Server.Implementations/Library/MediaStreamSelector.cs` (+8 -7) _...and 68 more files_ </details> ### 📄 Description Our own Contains extension contains an optimization that System.Linq doesn't. Also removed some unused usings. --- <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:47 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#11235