aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Library/Resolvers/TV/EpisodeResolver.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-09-17 22:43:34 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-09-17 22:43:34 -0400
commit60780399c51165a06a04d8a01d59252bc9c82d7f (patch)
tree53edb713a4d311234b21eebfa091a6c2bf382db5 /MediaBrowser.Server.Implementations/Library/Resolvers/TV/EpisodeResolver.cs
parent06c611dd50d37b786a957cea7308fb30e926a919 (diff)
allow request header overrides
Diffstat (limited to 'MediaBrowser.Server.Implementations/Library/Resolvers/TV/EpisodeResolver.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Library/Resolvers/TV/EpisodeResolver.cs7
1 files changed, 2 insertions, 5 deletions
diff --git a/MediaBrowser.Server.Implementations/Library/Resolvers/TV/EpisodeResolver.cs b/MediaBrowser.Server.Implementations/Library/Resolvers/TV/EpisodeResolver.cs
index 84d57b972..0a6a72fc1 100644
--- a/MediaBrowser.Server.Implementations/Library/Resolvers/TV/EpisodeResolver.cs
+++ b/MediaBrowser.Server.Implementations/Library/Resolvers/TV/EpisodeResolver.cs
@@ -20,7 +20,7 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.TV
var season = args.Parent as Season;
// If the parent is a Season or Series, then this is an Episode if the VideoResolver returns something
- if (season != null || args.Parent is Series)
+ if (season != null)
{
Episode episode = null;
@@ -51,10 +51,7 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.TV
if (episode != null)
{
- if (season != null)
- {
- episode.ParentIndexNumber = season.IndexNumber;
- }
+ episode.ParentIndexNumber = season.IndexNumber;
if (episode.ParentIndexNumber == null)
{