Explorar o código

Fixed bug #331

Fixed issue with incorrect season number when path contains a number.
Luis Miguel Almánzar %!s(int64=12) %!d(string=hai) anos
pai
achega
d017249d9e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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));
                 }
             }