cvium 4 tahun lalu
induk
melakukan
53db1a1ffc
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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
                 // Resolve from parent folder if it's not the Season folder
                 if (episodeInfo == null && episode.Parent.GetType() == typeof(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)
                     if (episodeInfo != null)
                     {
                     {
                         // add the container
                         // add the container