aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/IDisplayPreferencesManager.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-12-03 13:51:12 -0700
committercrobibero <cody@robibe.ro>2020-12-03 13:51:12 -0700
commitb0c79edd2c25f560208a40aedea05498d48ca80e (patch)
tree4052b66cf1234c7d71bc122a96f93382e2eee566 /MediaBrowser.Controller/IDisplayPreferencesManager.cs
parent4a3411cad17c95f3afe0870a1ff3a9afc10286fa (diff)
Add support for custom item display preferences
Diffstat (limited to 'MediaBrowser.Controller/IDisplayPreferencesManager.cs')
-rw-r--r--MediaBrowser.Controller/IDisplayPreferencesManager.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/IDisplayPreferencesManager.cs b/MediaBrowser.Controller/IDisplayPreferencesManager.cs
index 6658269bd..97176eb92 100644
--- a/MediaBrowser.Controller/IDisplayPreferencesManager.cs
+++ b/MediaBrowser.Controller/IDisplayPreferencesManager.cs
@@ -41,6 +41,22 @@ namespace MediaBrowser.Controller
IList<ItemDisplayPreferences> ListItemDisplayPreferences(Guid userId, string client);
/// <summary>
+ /// Gets all of the custom item display preferences for the user and client.
+ /// </summary>
+ /// <param name="userId">The user id.</param>
+ /// <param name="client">The client string.</param>
+ /// <returns>The dictionary of custom item display preferences.</returns>
+ IDictionary<string, string> ListCustomItemDisplayPreferences(Guid userId, string client);
+
+ /// <summary>
+ /// Sets the custom item display preference for the user and client.
+ /// </summary>
+ /// <param name="userId">The user id.</param>
+ /// <param name="client">The client id.</param>
+ /// <param name="customPreferences">A dictionary of custom item display preferences.</param>
+ void SetCustomItemDisplayPreferences(Guid userId, string client, Dictionary<string, string> customPreferences);
+
+ /// <summary>
/// Saves changes made to the database.
/// </summary>
void SaveChanges();