diff options
| author | Bond-009 <bond.009@outlook.com> | 2020-04-22 13:16:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-22 13:16:08 +0200 |
| commit | 07326c1d9b1a74b6802cd4187104c4272d59e28e (patch) | |
| tree | 1061f46729d67671eeb9b6bd71320732e83ccef9 /Emby.Server.Implementations/Library/PathExtensions.cs | |
| parent | daed41815f23795aad7f54965a8ef7eae44a1e08 (diff) | |
| parent | a85b1dcba663fe3bbb2441380cd8da382c92f2bd (diff) | |
Merge branch 'master' into fix-auth-response-codes
Diffstat (limited to 'Emby.Server.Implementations/Library/PathExtensions.cs')
| -rw-r--r-- | Emby.Server.Implementations/Library/PathExtensions.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Library/PathExtensions.cs b/Emby.Server.Implementations/Library/PathExtensions.cs index 4fdf73b77..1d61ed57e 100644 --- a/Emby.Server.Implementations/Library/PathExtensions.cs +++ b/Emby.Server.Implementations/Library/PathExtensions.cs @@ -39,7 +39,7 @@ namespace Emby.Server.Implementations.Library // for imdbid we also accept pattern matching if (string.Equals(attrib, "imdbid", StringComparison.OrdinalIgnoreCase)) { - var m = Regex.Match(str, "tt\\d{7}", RegexOptions.IgnoreCase); + var m = Regex.Match(str, "tt([0-9]{7,8})", RegexOptions.IgnoreCase); return m.Success ? m.Value : null; } |
