aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Collections/ICollectionManager.cs
diff options
context:
space:
mode:
authorJean-Pierre Bachmann <info@jean-pierre-bachmann.dev>2023-02-01 19:34:58 +0100
committerJean-Pierre Bachmann <info@jean-pierre-bachmann.dev>2023-02-01 19:34:58 +0100
commit6b8d1695297c28098924c5da18da133083ca9c92 (patch)
tree25e31887dacebb5cc23c7f3a9a5e25781e48495a /MediaBrowser.Controller/Collections/ICollectionManager.cs
parent992b460912f3100f126bc4db0fe042fd4aefee7c (diff)
Added CleanupCollection task
Diffstat (limited to 'MediaBrowser.Controller/Collections/ICollectionManager.cs')
-rw-r--r--MediaBrowser.Controller/Collections/ICollectionManager.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Collections/ICollectionManager.cs b/MediaBrowser.Controller/Collections/ICollectionManager.cs
index b8c33ee5a..38a78a67b 100644
--- a/MediaBrowser.Controller/Collections/ICollectionManager.cs
+++ b/MediaBrowser.Controller/Collections/ICollectionManager.cs
@@ -56,5 +56,12 @@ namespace MediaBrowser.Controller.Collections
/// <param name="user">The user.</param>
/// <returns>IEnumerable{BaseItem}.</returns>
IEnumerable<BaseItem> CollapseItemsWithinBoxSets(IEnumerable<BaseItem> items, User user);
+
+ /// <summary>
+ /// Gets the folder where collections are stored.
+ /// </summary>
+ /// <param name="createIfNeeded">Will create the collection folder on the storage if set to true.</param>
+ /// <returns>The folder instance referencing the collection storage.</returns>
+ Task<Folder?> GetCollectionsFolder(bool createIfNeeded);
}
}