From 6ef7e71caa9f7b72eb30714e5426d563712ba511 Mon Sep 17 00:00:00 2001 From: Thomas Gillen Date: Thu, 19 Jun 2014 21:35:35 +0100 Subject: 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. --- MediaBrowser.Controller/Entities/TV/Episode.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MediaBrowser.Controller/Entities') 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) -- cgit v1.2.3