mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2026-05-06 08:49:25 -05:00
Ignore Season folders like "S01" (S[0-9]+)
This commit is contained in:
committed by
GitHub
parent
3dbbb46e6a
commit
306487560b
@@ -12,7 +12,7 @@ public class TVShowHelper(NodeParameters args)
|
||||
if (useFolderName)
|
||||
{
|
||||
lookupName = FileHelper.GetDirectoryName(filename);
|
||||
if (Regex.IsMatch(lookupName, "^(Season|Staffel|Saison|Specials)", RegexOptions.IgnoreCase))
|
||||
if (Regex.IsMatch(lookupName, "^(Season|Staffel|Saison|Specials|S[0-9]+)", RegexOptions.IgnoreCase))
|
||||
lookupName = FileHelper.GetDirectoryName(FileHelper.GetDirectory(filename));
|
||||
}
|
||||
else
|
||||
@@ -141,4 +141,4 @@ public class TVShowHelper(NodeParameters args)
|
||||
|
||||
return (cleanedText, year);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user