Merge branch 'dev' of https://github.com/MediaBrowser/Emby into dev
This commit is contained in:
commit
386cf95220
|
@ -923,14 +923,14 @@ namespace MediaBrowser.Server.Implementations.Library
|
||||||
|
|
||||||
if (type == typeof(Person))
|
if (type == typeof(Person))
|
||||||
{
|
{
|
||||||
var subFolderIndex = 0;
|
foreach (char c in validFilename)
|
||||||
|
|
||||||
while (!char.IsLetterOrDigit(validFilename[subFolderIndex]))
|
|
||||||
{
|
{
|
||||||
subFolderIndex++;
|
if (char.IsLetterOrDigit(c))
|
||||||
|
{
|
||||||
|
subFolderPrefix = c.ToString();
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
subFolderPrefix = validFilename.Substring(subFolderIndex, 1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var fullPath = string.IsNullOrEmpty(subFolderPrefix) ?
|
var fullPath = string.IsNullOrEmpty(subFolderPrefix) ?
|
||||||
|
|
Loading…
Reference in New Issue
Block a user