mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-05 21:37:10 -04:00
Fixed bug #331
Fixed issue with incorrect season number when path contains a number.
This commit is contained in:
parent
96eb5bd367
commit
d017249d9e
@ -129,7 +129,7 @@ namespace MediaBrowser.Controller.Library
|
|||||||
|
|
||||||
if (index != -1)
|
if (index != -1)
|
||||||
{
|
{
|
||||||
return GetSeasonNumberFromPathSubstring(path.Substring(index + name.Length));
|
return GetSeasonNumberFromPathSubstring(filename.Substring(index + name.Length));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user