瀏覽代碼

Fixed bug #331

Fixed issue with incorrect season number when path contains a number.
Luis Miguel Almánzar 12 年之前
父節點
當前提交
d017249d9e
共有 1 個文件被更改,包括 1 次插入1 次删除
  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));
                 }
             }