mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-02 00:12:24 +00:00
Fixed bug #331
Fixed issue with incorrect season number when path contains a number.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user