[PR #6380] [CLOSED] Cleanup: Replace arrays with IEnumerable #10941

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/6380
Author: @usmanatron
Created: 8/3/2021
Status: Closed

Base: masterHead: remove_arrays_1


📝 Commits (1)

  • 927f6d6 Replace loads of arrays with IEnumerable. Fix fallout

📊 Changes

21 files changed (+88 additions, -85 deletions)

View changed files

📝 Emby.Server.Implementations/Channels/ChannelManager.cs (+5 -5)
📝 Emby.Server.Implementations/Library/LibraryManager.cs (+1 -1)
📝 Emby.Server.Implementations/Udp/UdpServer.cs (+5 -5)
📝 Emby.Server.Implementations/Updates/InstallationManager.cs (+1 -1)
📝 Jellyfin.Api/Controllers/PackageController.cs (+1 -1)
📝 Jellyfin.Data/Entities/User.cs (+1 -1)
📝 Jellyfin.Server.Implementations/Users/UserManager.cs (+8 -4)
📝 Jellyfin.Server/Migrations/Routines/MigrateUserDb.cs (+4 -3)
📝 MediaBrowser.Controller/Session/SessionInfo.cs (+1 -1)
📝 MediaBrowser.Controller/Subtitles/SubtitleSearchRequest.cs (+2 -2)
📝 MediaBrowser.Model/Channels/ChannelFeatures.cs (+7 -7)
📝 MediaBrowser.Model/Configuration/LibraryOptions.cs (+13 -12)
📝 MediaBrowser.Model/Configuration/ServerConfiguration.cs (+1 -1)
📝 MediaBrowser.Model/Session/PlaybackStopInfo.cs (+2 -1)
📝 MediaBrowser.Model/System/SystemInfo.cs (+3 -2)
📝 MediaBrowser.Model/Tasks/TaskInfo.cs (+4 -3)
📝 MediaBrowser.Model/Users/UserPolicy.cs (+15 -14)
📝 MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.cs (+1 -1)
📝 MediaBrowser.Providers/MediaInfo/SubtitleDownloader.cs (+6 -6)
📝 MediaBrowser.Providers/MediaInfo/SubtitleScheduledTask.cs (+4 -10)

...and 1 more files

📄 Description

Changes
Cleaned up a chunk of MediaBrowser.Model, focussing on changing Array properties to IEnumerable. This broke a few things so I've fixed them too. I haven't done too many because I want to confirm that my process \ choices are good. Once they're signed off I intend to do them all!

Issues
Part of #2149


🔄 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/6380 **Author:** [@usmanatron](https://github.com/usmanatron) **Created:** 8/3/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `remove_arrays_1` --- ### 📝 Commits (1) - [`927f6d6`](https://github.com/jellyfin/jellyfin/commit/927f6d6bbf8ef579ba4691bf91691026b8783064) Replace loads of arrays with IEnumerable. Fix fallout ### 📊 Changes **21 files changed** (+88 additions, -85 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/Channels/ChannelManager.cs` (+5 -5) 📝 `Emby.Server.Implementations/Library/LibraryManager.cs` (+1 -1) 📝 `Emby.Server.Implementations/Udp/UdpServer.cs` (+5 -5) 📝 `Emby.Server.Implementations/Updates/InstallationManager.cs` (+1 -1) 📝 `Jellyfin.Api/Controllers/PackageController.cs` (+1 -1) 📝 `Jellyfin.Data/Entities/User.cs` (+1 -1) 📝 `Jellyfin.Server.Implementations/Users/UserManager.cs` (+8 -4) 📝 `Jellyfin.Server/Migrations/Routines/MigrateUserDb.cs` (+4 -3) 📝 `MediaBrowser.Controller/Session/SessionInfo.cs` (+1 -1) 📝 `MediaBrowser.Controller/Subtitles/SubtitleSearchRequest.cs` (+2 -2) 📝 `MediaBrowser.Model/Channels/ChannelFeatures.cs` (+7 -7) 📝 `MediaBrowser.Model/Configuration/LibraryOptions.cs` (+13 -12) 📝 `MediaBrowser.Model/Configuration/ServerConfiguration.cs` (+1 -1) 📝 `MediaBrowser.Model/Session/PlaybackStopInfo.cs` (+2 -1) 📝 `MediaBrowser.Model/System/SystemInfo.cs` (+3 -2) 📝 `MediaBrowser.Model/Tasks/TaskInfo.cs` (+4 -3) 📝 `MediaBrowser.Model/Users/UserPolicy.cs` (+15 -14) 📝 `MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.cs` (+1 -1) 📝 `MediaBrowser.Providers/MediaInfo/SubtitleDownloader.cs` (+6 -6) 📝 `MediaBrowser.Providers/MediaInfo/SubtitleScheduledTask.cs` (+4 -10) _...and 1 more files_ </details> ### 📄 Description **Changes** Cleaned up a chunk of MediaBrowser.Model, focussing on changing Array properties to IEnumerable. This broke a few things so I've fixed them too. I haven't done too many because I want to confirm that my process \ choices are good. Once they're signed off I intend to do them all! **Issues** Part of #2149 --- <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:29:33 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10941