aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Library
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.Server.Implementations/Library
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.Server.Implementations/Library')
-rw-r--r--MediaBrowser.Server.Implementations/Library/Resolvers/TV/SeriesResolver.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/Library/Resolvers/TV/SeriesResolver.cs b/MediaBrowser.Server.Implementations/Library/Resolvers/TV/SeriesResolver.cs
index e97bc97f8..6b376d3b4 100644
--- a/MediaBrowser.Server.Implementations/Library/Resolvers/TV/SeriesResolver.cs
+++ b/MediaBrowser.Server.Implementations/Library/Resolvers/TV/SeriesResolver.cs
@@ -74,7 +74,7 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.TV
return null;
}
- if (args.ContainsMetaFileByName("series.xml") || filename.IndexOf("[tvdbid=", StringComparison.OrdinalIgnoreCase) != -1 || TVUtils.IsSeriesFolder(args.Path, args.FileSystemChildren, args.DirectoryService))
+ if (args.ContainsMetaFileByName("series.xml") || filename.IndexOf("[tvdbid=", StringComparison.OrdinalIgnoreCase) != -1 || TVUtils.IsSeriesFolder(args.Path, collectionType == CollectionType.TvShows, args.FileSystemChildren, args.DirectoryService))
{
return new Series();
}