aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Library/Resolvers/TV/SeasonResolver.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-12-15 00:16:23 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-12-15 00:16:23 -0500
commite92e0365747c04f081be0efbb9afb78dc96aef9b (patch)
tree51a7d2c0647d491737ca0bf9b9b8b3a11e9ee313 /MediaBrowser.Server.Implementations/Library/Resolvers/TV/SeasonResolver.cs
parented31b883f4bf1884ee974171501e61f83c768379 (diff)
add new sync methods
Diffstat (limited to 'MediaBrowser.Server.Implementations/Library/Resolvers/TV/SeasonResolver.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Library/Resolvers/TV/SeasonResolver.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/Library/Resolvers/TV/SeasonResolver.cs b/MediaBrowser.Server.Implementations/Library/Resolvers/TV/SeasonResolver.cs
index d3580aaf8..058fb1489 100644
--- a/MediaBrowser.Server.Implementations/Library/Resolvers/TV/SeasonResolver.cs
+++ b/MediaBrowser.Server.Implementations/Library/Resolvers/TV/SeasonResolver.cs
@@ -1,6 +1,7 @@
using MediaBrowser.Controller.Configuration;
using MediaBrowser.Controller.Entities.TV;
using MediaBrowser.Controller.Library;
+using MediaBrowser.Model.Entities;
namespace MediaBrowser.Server.Implementations.Library.Resolvers.TV
{
@@ -34,7 +35,7 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.TV
{
var season = new Season
{
- IndexNumber = SeriesResolver.GetSeasonNumberFromPath(args.Path)
+ IndexNumber = SeriesResolver.GetSeasonNumberFromPath(args.Path, CollectionType.TvShows)
};
if (season.IndexNumber.HasValue && season.IndexNumber.Value == 0)