diff options
| author | Cody Robibero <cody@robibe.ro> | 2026-08-25 18:28:52 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-25 18:28:52 -0400 |
| commit | f682c22b08fd842e5642e4c19be6f0a9dd32f588 (patch) | |
| tree | 7336324e9d8fa4dbcc2385942e23944ff07533c1 /MediaBrowser.Controller/Entities/Studio.cs | |
| parent | a68793d08a83ddfa91bd3a22c3be0eb634579134 (diff) | |
| parent | 6978dfc29441eb1a37571be14fe165c622bff3c7 (diff) | |
Merge pull request #17715 from Shadowghost/fix-people-cleanup
Delete credits nothing maps to and bound item-by-name folder names
Diffstat (limited to 'MediaBrowser.Controller/Entities/Studio.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/Studio.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/MediaBrowser.Controller/Entities/Studio.cs b/MediaBrowser.Controller/Entities/Studio.cs index 9103b09a95..a944b356c8 100644 --- a/MediaBrowser.Controller/Entities/Studio.cs +++ b/MediaBrowser.Controller/Entities/Studio.cs @@ -78,10 +78,7 @@ namespace MediaBrowser.Controller.Entities public static string GetPath(string name, bool normalizeName) { - // Trim the period at the end because windows will have a hard time with that - var validName = normalizeName ? - FileSystem.GetValidFilename(name).Trim().TrimEnd('.') : - name; + var validName = normalizeName ? GetItemByNameFolderName(name) : name; return System.IO.Path.Combine(ConfigurationManager.ApplicationPaths.StudioPath, validName); } |
