diff options
| author | Jean-Pierre Bachmann <info@jean-pierre-bachmann.dev> | 2023-02-01 19:34:58 +0100 |
|---|---|---|
| committer | Jean-Pierre Bachmann <info@jean-pierre-bachmann.dev> | 2023-02-01 19:34:58 +0100 |
| commit | 6b8d1695297c28098924c5da18da133083ca9c92 (patch) | |
| tree | 25e31887dacebb5cc23c7f3a9a5e25781e48495a /MediaBrowser.Controller/Collections/ICollectionManager.cs | |
| parent | 992b460912f3100f126bc4db0fe042fd4aefee7c (diff) | |
Added CleanupCollection task
Diffstat (limited to 'MediaBrowser.Controller/Collections/ICollectionManager.cs')
| -rw-r--r-- | MediaBrowser.Controller/Collections/ICollectionManager.cs | 7 |
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); } } |
