diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2023-06-28 17:44:11 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-28 17:44:11 -0400 |
| commit | 76939bbd9bebb622759422f262c2490b56ab5a16 (patch) | |
| tree | aa197364c7d7073d6cc49bab4fcfe00259b18afe /MediaBrowser.Controller | |
| parent | e53e53eb29cca3b316fcf8f57abfa1c0f2807d99 (diff) | |
| parent | cc82ca189fcbd068c34c0d1c38a67d2332a96d44 (diff) | |
Merge pull request #9231 from JPVenson/bugfix/1907_CleanupCollections
Diffstat (limited to 'MediaBrowser.Controller')
| -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); } } |
