mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #4100] [CLOSED] Configuration - Improved readability & split file for standardization #9880
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/4100
Author: @BaronGreenback
Created: 9/8/2020
Status: ❌ Closed
Base:
master← Head:ServerConfiguration📝 Commits (10+)
d4004bcMerge pull request #62 from jellyfin/master555c15dCreate temp6220965Add files via upload304d11aDelete tempdf2cf31Delete IPHost.cs07c88a4Delete IPObject.csac8f939Delete IPNetAddress.csfe59cbaDelete NetCollection.csd520807Create WhoIsJellyfinServer.cs75c5537Merge pull request #63 from jellyfin/master📊 Changes
2 files changed (+227 additions, -180 deletions)
View changed files
➕
MediaBrowser.Model/Configuration/PathSubstitution.cs(+19 -0)📝
MediaBrowser.Model/Configuration/ServerConfiguration.cs(+208 -180)📄 Description
I've found that by having the initialization properties in the configuration file within the constructor, i'm constantly moving up and down the file - first to look for the property i want, then to find what it's initialised to.
This change does is nothing more than move the initial values onto the same line as the property.
The PathSubstitution class has been moved to its own file as per standards.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.