diff options
Diffstat (limited to 'MediaBrowser.Controller/Library/TVUtils.cs')
| -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)); } } |
