aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Collections
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-03-15 11:17:46 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-03-15 11:17:46 -0400
commit9a6afa92889c57e5f7b0e8cc937376fe6393ebb4 (patch)
treef0bd1bf7a2498328ef07e0fcdc648d2475e5c0f0 /MediaBrowser.Controller/Collections
parentd55af4f5292236317f572e0bddfe9575a21c4662 (diff)
Add new params to collection creation
Diffstat (limited to 'MediaBrowser.Controller/Collections')
-rw-r--r--MediaBrowser.Controller/Collections/CollectionCreationOptions.cs3
-rw-r--r--MediaBrowser.Controller/Collections/ICollectionManager.cs5
2 files changed, 6 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Collections/CollectionCreationOptions.cs b/MediaBrowser.Controller/Collections/CollectionCreationOptions.cs
index e147e0905..74ae42095 100644
--- a/MediaBrowser.Controller/Collections/CollectionCreationOptions.cs
+++ b/MediaBrowser.Controller/Collections/CollectionCreationOptions.cs
@@ -14,9 +14,12 @@ namespace MediaBrowser.Controller.Collections
public Dictionary<string, string> ProviderIds { get; set; }
+ public List<Guid> ItemIdList { get; set; }
+
public CollectionCreationOptions()
{
ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
+ ItemIdList = new List<Guid>();
}
}
}
diff --git a/MediaBrowser.Controller/Collections/ICollectionManager.cs b/MediaBrowser.Controller/Collections/ICollectionManager.cs
index d7bc178ad..af65bbaca 100644
--- a/MediaBrowser.Controller/Collections/ICollectionManager.cs
+++ b/MediaBrowser.Controller/Collections/ICollectionManager.cs
@@ -1,4 +1,5 @@
-using System;
+using MediaBrowser.Controller.Entities.Movies;
+using System;
using System.Collections.Generic;
using System.Threading.Tasks;
@@ -11,7 +12,7 @@ namespace MediaBrowser.Controller.Collections
/// </summary>
/// <param name="options">The options.</param>
/// <returns>Task.</returns>
- Task CreateCollection(CollectionCreationOptions options);
+ Task<BoxSet> CreateCollection(CollectionCreationOptions options);
/// <summary>
/// Adds to collection.