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.
This commit is contained in:
Thomas Gillen
2014-06-19 21:35:35 +01:00
parent 7f0b24758a
commit 6ef7e71caa
4 changed files with 30 additions and 31 deletions

View File

@@ -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)