aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-06-20 00:50:39 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-06-20 00:50:39 -0400
commitc2d8cb47319cc441375f8db4a8a9077f8fb25e08 (patch)
tree6860fdf25e7ff97ef26636ab8412bb0625d93b44 /MediaBrowser.Controller/Entities
parent439839378364466ae7795c99b67a123bd1008945 (diff)
parent0b85b7300d1097784ddb7377a59889d16d708df8 (diff)
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
Diffstat (limited to 'MediaBrowser.Controller/Entities')
-rw-r--r--MediaBrowser.Controller/Entities/TV/Episode.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/TV/Episode.cs b/MediaBrowser.Controller/Entities/TV/Episode.cs
index be761ef66..b9630a66f 100644
--- a/MediaBrowser.Controller/Entities/TV/Episode.cs
+++ b/MediaBrowser.Controller/Entities/TV/Episode.cs
@@ -273,7 +273,7 @@ namespace MediaBrowser.Controller.Entities.TV
{
if (!IndexNumber.HasValue && !string.IsNullOrEmpty(Path))
{
- IndexNumber = TVUtils.GetEpisodeNumberFromFile(Path, Parent is Season);
+ IndexNumber = TVUtils.GetEpisodeNumberFromFile(Path, true);
// If a change was made record it
if (IndexNumber.HasValue)