diff options
| author | Bond-009 <bond.009@outlook.com> | 2019-05-10 20:37:42 +0200 |
|---|---|---|
| committer | Bond-009 <bond.009@outlook.com> | 2019-06-01 11:31:27 +0200 |
| commit | a6f9ceedd82fe34a8d1f088d91f7c217ee070aad (patch) | |
| tree | 9774be96290a3bf52d7a8fd4efc3314e9f7695a6 /Emby.Naming/TV/EpisodeResolver.cs | |
| parent | 2aed2d164b110ecafa88b5036e0875627908bde2 (diff) | |
Fix more warnings
Diffstat (limited to 'Emby.Naming/TV/EpisodeResolver.cs')
| -rw-r--r-- | Emby.Naming/TV/EpisodeResolver.cs | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Emby.Naming/TV/EpisodeResolver.cs b/Emby.Naming/TV/EpisodeResolver.cs index fccf9bdecb..2d7bcb6382 100644 --- a/Emby.Naming/TV/EpisodeResolver.cs +++ b/Emby.Naming/TV/EpisodeResolver.cs @@ -15,7 +15,13 @@ namespace Emby.Naming.TV _options = options; } - public EpisodeInfo Resolve(string path, bool IsDirectory, bool? isNamed = null, bool? isOptimistic = null, bool? supportsAbsoluteNumbers = null, bool fillExtendedInfo = true) + public EpisodeInfo Resolve( + string path, + bool isDirectory, + bool? isNamed = null, + bool? isOptimistic = null, + bool? supportsAbsoluteNumbers = null, + bool fillExtendedInfo = true) { if (string.IsNullOrEmpty(path)) { @@ -26,7 +32,7 @@ namespace Emby.Naming.TV string container = null; string stubType = null; - if (!IsDirectory) + if (!isDirectory) { var extension = Path.GetExtension(path); // Check supported extensions @@ -52,7 +58,7 @@ namespace Emby.Naming.TV var format3DResult = new Format3DParser(_options).Parse(flags); var parsingResult = new EpisodePathParser(_options) - .Parse(path, IsDirectory, isNamed, isOptimistic, supportsAbsoluteNumbers, fillExtendedInfo); + .Parse(path, isDirectory, isNamed, isOptimistic, supportsAbsoluteNumbers, fillExtendedInfo); return new EpisodeInfo { |
