aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2014-06-19 21:54:11 -0400
committerLuke <luke.pulverenti@gmail.com>2014-06-19 21:54:11 -0400
commit0b85b7300d1097784ddb7377a59889d16d708df8 (patch)
tree336375e758302a2023780a32cddb77b9d60bbf34 /MediaBrowser.Controller/Entities
parent7f0b24758a0b382d74b5526b36de06622c7a6c18 (diff)
parenta2c88c38adbd7c842897bc205dba5cb6454e58c5 (diff)
Merge pull request #849 from thogil/master
Partial fix for some issues with absolute episodes (those not in a season)
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 be761ef662..b9630a66f4 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)