aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Collections
diff options
context:
space:
mode:
authorNick <20588554+nicknsy@users.noreply.github.com>2023-06-28 21:43:23 -0700
committerNick <20588554+nicknsy@users.noreply.github.com>2023-06-28 21:43:23 -0700
commit6d9e43cfe03d94aec62a0b35743003fa4caa32b1 (patch)
treea78b31f6743061f4c8bfa41985ae6b2574eaa06f /MediaBrowser.Controller/Collections
parentfc619337481e3bb0f686aee06d9c5630926baaef (diff)
parent76939bbd9bebb622759422f262c2490b56ab5a16 (diff)
Merge branch 'master' into trickplay
Diffstat (limited to 'MediaBrowser.Controller/Collections')
-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 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);
}
}