mirror of
https://github.com/Radarr/Radarr
synced 2026-03-04 11:32:23 +01:00
Fixed: Ignore case when importing extra files
This commit is contained in:
parent
ff6841e410
commit
cf8b9df5ad
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ public void ImportExtraFiles(LocalEpisode localEpisode, EpisodeFile episodeFile,
|
|||
.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 a new issue