mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-02 05:48:47 +01:00
improve people naming
This commit is contained in:
@@ -886,7 +886,14 @@ namespace MediaBrowser.Server.Implementations.Library
|
||||
|
||||
if (type == typeof(Person))
|
||||
{
|
||||
subFolderPrefix = validFilename.Substring(0, 1);
|
||||
var subFolderIndex = 0;
|
||||
|
||||
while (!char.IsLetterOrDigit(validFilename[subFolderIndex]))
|
||||
{
|
||||
subFolderIndex++;
|
||||
}
|
||||
|
||||
subFolderPrefix = validFilename.Substring(subFolderIndex, 1);
|
||||
}
|
||||
|
||||
var fullPath = string.IsNullOrEmpty(subFolderPrefix) ?
|
||||
|
||||
Reference in New Issue
Block a user