From 20251e670f485dde010de5ff63454cacb2f6ba5f Mon Sep 17 00:00:00 2001 From: crobibero Date: Sun, 22 Nov 2020 14:39:34 -0700 Subject: [PATCH] Fix tests --- Emby.Naming/Video/VideoListResolver.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Emby.Naming/Video/VideoListResolver.cs b/Emby.Naming/Video/VideoListResolver.cs index 4c3394129..fd1677473 100644 --- a/Emby.Naming/Video/VideoListResolver.cs +++ b/Emby.Naming/Video/VideoListResolver.cs @@ -226,7 +226,8 @@ namespace Emby.Naming.Video { testFilename = cleanName.ToString(); } - else if (folderName.Length <= testFilename.Length) + + if (folderName.Length <= testFilename.Length) { testFilename = testFilename.Substring(folderName.Length).Trim(); }