cvium 4 years ago
parent
commit
53db1a1ffc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Emby.Server.Implementations/Library/LibraryManager.cs

+ 1 - 1
Emby.Server.Implementations/Library/LibraryManager.cs

@@ -2533,7 +2533,7 @@ namespace Emby.Server.Implementations.Library
                 // Resolve from parent folder if it's not the Season folder
                 if (episodeInfo == null && episode.Parent.GetType() == typeof(Folder))
                 {
-                    episodeInfo = resolver.Resolve(Path.GetDirectoryName(episode.Path)!, true, null, null, isAbsoluteNaming);
+                    episodeInfo = resolver.Resolve(episode.Parent.Path, true, null, null, isAbsoluteNaming);
                     if (episodeInfo != null)
                     {
                         // add the container