mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #6380] [CLOSED] Cleanup: Replace arrays with IEnumerable #10941
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/6380
Author: @usmanatron
Created: 8/3/2021
Status: ❌ Closed
Base:
master← Head:remove_arrays_1📝 Commits (1)
927f6d6Replace 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.