aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities
diff options
context:
space:
mode:
authorThomas Gillen <thomas.gillen@googlemail.com>2014-06-19 21:35:35 +0100
committerThomas Gillen <thomas.gillen@googlemail.com>2014-06-19 21:35:35 +0100
commit6ef7e71caa9f7b72eb30714e5426d563712ba511 (patch)
tree69239132cad018af23480c263c606bb5f7297525 /MediaBrowser.Controller/Entities
parent7f0b24758a0b382d74b5526b36de06622c7a6c18 (diff)
Fixed absolute episodes being being resolved and the tvdb provider not identifying them
Episode resolver will only consider absolute episodes (those without a season) if the media type is TV Series for the collection.
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)