mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-06 07:44:58 +01:00
use ignorecase
This commit is contained in:
parent
61ac8151ff
commit
4f5a659111
1 changed files with 2 additions and 2 deletions
|
|
@ -301,7 +301,7 @@ namespace MediaBrowser.Server.Implementations.FileOrganization
|
|||
|
||||
private void SaveSmartMatchString(string matchString, Series series, AutoOrganizeOptions options)
|
||||
{
|
||||
SmartMatchInfo info = options.SmartMatchInfos.FirstOrDefault(i => string.Equals(i.ItemName, series.Name));
|
||||
SmartMatchInfo info = options.SmartMatchInfos.FirstOrDefault(i => string.Equals(i.ItemName, series.Name, StringComparison.OrdinalIgnoreCase));
|
||||
|
||||
if (info == null)
|
||||
{
|
||||
|
|
@ -498,7 +498,7 @@ namespace MediaBrowser.Server.Implementations.FileOrganization
|
|||
series = _libraryManager.RootFolder
|
||||
.GetRecursiveChildren(i => i is Series)
|
||||
.Cast<Series>()
|
||||
.FirstOrDefault(i => string.Equals(i.Name, info.ItemName));
|
||||
.FirstOrDefault(i => string.Equals(i.Name, info.ItemName, StringComparison.OrdinalIgnoreCase));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue