diff options
| author | Nick <20588554+nicknsy@users.noreply.github.com> | 2023-06-28 21:43:23 -0700 |
|---|---|---|
| committer | Nick <20588554+nicknsy@users.noreply.github.com> | 2023-06-28 21:43:23 -0700 |
| commit | 6d9e43cfe03d94aec62a0b35743003fa4caa32b1 (patch) | |
| tree | a78b31f6743061f4c8bfa41985ae6b2574eaa06f /MediaBrowser.Controller/Collections | |
| parent | fc619337481e3bb0f686aee06d9c5630926baaef (diff) | |
| parent | 76939bbd9bebb622759422f262c2490b56ab5a16 (diff) | |
Merge branch 'master' into trickplay
Diffstat (limited to 'MediaBrowser.Controller/Collections')
| -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 b8c33ee5a0..38a78a67b5 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); } } |
