diff options
| author | Luis Miguel Almánzar <ruisu15@gmail.com> | 2013-06-09 15:58:51 -0400 |
|---|---|---|
| committer | Luis Miguel Almánzar <ruisu15@gmail.com> | 2013-06-09 15:58:51 -0400 |
| commit | d017249d9e84a7cc27364260eaaf042c37eb9c6e (patch) | |
| tree | edd2c97b8c2421556e0dcaaf166b313042325b83 | |
| parent | 96eb5bd367df505e176da5164e2c2bdc6c96d535 (diff) | |
Fixed bug #331
Fixed issue with incorrect season number when path contains a number.
| -rw-r--r-- | MediaBrowser.Controller/Library/TVUtils.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Library/TVUtils.cs b/MediaBrowser.Controller/Library/TVUtils.cs index 0df48bdf4..046dd7698 100644 --- a/MediaBrowser.Controller/Library/TVUtils.cs +++ b/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)); } } |
