This commit is contained in:
cvium 2021-12-14 23:05:45 +01:00
parent e575d815cc
commit c3c4dc6839

View File

@ -76,8 +76,6 @@ namespace Emby.Naming.Video
var potentialStacks = new Dictionary<string, StackMetadata>();
foreach (var file in potentialFiles)
{
for (var i = 0; i < namingOptions.VideoFileStackingRules.Length; i++)
{
var name = file.Name;
if (string.IsNullOrEmpty(name))
@ -85,6 +83,8 @@ namespace Emby.Naming.Video
name = Path.GetFileName(file.FullName);
}
for (var i = 0; i < namingOptions.VideoFileStackingRules.Length; i++)
{
var rule = namingOptions.VideoFileStackingRules[i];
if (!rule.Match(name, out var stackParsingResult))
{