aboutsummaryrefslogtreecommitdiff
path: root/Emby.Naming/Common/NamingOptions.cs
diff options
context:
space:
mode:
authorStepan <ste.martinek+git@gmail.com>2020-11-01 11:19:22 +0100
committerStepan <ste.martinek+git@gmail.com>2020-11-01 11:19:22 +0100
commit60b49e67eafd356d1276f43de1a3f1f2fe52fe3f (patch)
treea296e2c2b6b9ea9d51cbe7a12aa59da4c3596d6b /Emby.Naming/Common/NamingOptions.cs
parent59619b6ea74ab555977fd213f6ee5737897b0fbd (diff)
Re-Sharper inspection issues
Diffstat (limited to 'Emby.Naming/Common/NamingOptions.cs')
-rw-r--r--Emby.Naming/Common/NamingOptions.cs12
1 files changed, 7 insertions, 5 deletions
diff --git a/Emby.Naming/Common/NamingOptions.cs b/Emby.Naming/Common/NamingOptions.cs
index 78bb6242d..537de63d5 100644
--- a/Emby.Naming/Common/NamingOptions.cs
+++ b/Emby.Naming/Common/NamingOptions.cs
@@ -6,6 +6,8 @@ using System.Text.RegularExpressions;
using Emby.Naming.Video;
using MediaBrowser.Model.Entities;
+// ReSharper disable StringLiteralTypo
+
namespace Emby.Naming.Common
{
public class NamingOptions
@@ -531,19 +533,19 @@ namespace Emby.Naming.Common
{
// Kodi rules:
new Format3DRule(
- preceedingToken: "3d",
+ precedingToken: "3d",
token: "hsbs"),
new Format3DRule(
- preceedingToken: "3d",
+ precedingToken: "3d",
token: "sbs"),
new Format3DRule(
- preceedingToken: "3d",
+ precedingToken: "3d",
token: "htab"),
new Format3DRule(
- preceedingToken: "3d",
+ precedingToken: "3d",
token: "tab"),
// Media Browser rules:
@@ -608,7 +610,7 @@ namespace Emby.Naming.Common
".mxf"
});
- MultipleEpisodeExpressions = new string[]
+ MultipleEpisodeExpressions = new[]
{
@".*(\\|\/)[sS]?(?<seasonnumber>[0-9]{1,4})[xX](?<epnumber>[0-9]{1,3})((-| - )[0-9]{1,4}[eExX](?<endingepnumber>[0-9]{1,3}))+[^\\\/]*$",
@".*(\\|\/)[sS]?(?<seasonnumber>[0-9]{1,4})[xX](?<epnumber>[0-9]{1,3})((-| - )[0-9]{1,4}[xX][eE](?<endingepnumber>[0-9]{1,3}))+[^\\\/]*$",