Procházet zdrojové kódy

Fixed bug #331

Fixed issue with incorrect season number when path contains a number.
Luis Miguel Almánzar před 12 roky
rodič
revize
d017249d9e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      MediaBrowser.Controller/Library/TVUtils.cs

+ 1 - 1
MediaBrowser.Controller/Library/TVUtils.cs

@@ -129,7 +129,7 @@ namespace MediaBrowser.Controller.Library
 
                 if (index != -1)
                 {
-                    return GetSeasonNumberFromPathSubstring(path.Substring(index + name.Length));
+                    return GetSeasonNumberFromPathSubstring(filename.Substring(index + name.Length));
                 }
             }