Fixed issue with incorrect season number when path contains a number.
This commit is contained in:
Luis Miguel Almánzar 2013-06-09 15:58:51 -04:00
parent 96eb5bd367
commit d017249d9e
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}
}