mirror of https://github.com/lidarr/Lidarr
Fixed: Ignore case when importing extra files
This commit is contained in:
parent
ba27554bd3
commit
d8adc3f480
|
@ -77,7 +77,7 @@ namespace NzbDrone.Core.Extras
|
|||
.Select(e => e.Trim(' ', '.'))
|
||||
.ToList();
|
||||
|
||||
var matchingFilenames = files.Where(f => Path.GetFileNameWithoutExtension(f).StartsWith(sourceFileName));
|
||||
var matchingFilenames = files.Where(f => Path.GetFileNameWithoutExtension(f).StartsWith(sourceFileName, StringComparison.InvariantCultureIgnoreCase));
|
||||
|
||||
foreach (var matchingFilename in matchingFilenames)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue