aboutsummaryrefslogtreecommitdiff
path: root/Emby.Naming/Video/StackResolver.cs
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2020-02-23 10:48:47 +0900
committerGitHub <noreply@github.com>2020-02-23 10:48:47 +0900
commit6715450598e175efb3dc42d9448d2e421d854bdb (patch)
treefa0195e56ab13507776ff18e6e56a54ef81cb2d3 /Emby.Naming/Video/StackResolver.cs
parent804ca0543b1c746a751142edc6525d157da472c9 (diff)
parentadc9fc282cf94adbfb48b3680246105b55d24ff5 (diff)
Merge pull request #2427 from Bond-009/minor
Minor improvements
Diffstat (limited to 'Emby.Naming/Video/StackResolver.cs')
-rw-r--r--Emby.Naming/Video/StackResolver.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Naming/Video/StackResolver.cs b/Emby.Naming/Video/StackResolver.cs
index 8f210fa45..b9afe998b 100644
--- a/Emby.Naming/Video/StackResolver.cs
+++ b/Emby.Naming/Video/StackResolver.cs
@@ -194,7 +194,7 @@ namespace Emby.Naming.Video
}
}
- private string GetRegexInput(FileSystemMetadata file)
+ private static string GetRegexInput(FileSystemMetadata file)
{
// For directories, dummy up an extension otherwise the expressions will fail
var input = !file.IsDirectory
@@ -204,7 +204,7 @@ namespace Emby.Naming.Video
return Path.GetFileName(input);
}
- private Match FindMatch(FileSystemMetadata input, Regex regex, int offset)
+ private static Match FindMatch(FileSystemMetadata input, Regex regex, int offset)
{
var regexInput = GetRegexInput(input);