From b0c79edd2c25f560208a40aedea05498d48ca80e Mon Sep 17 00:00:00 2001 From: crobibero Date: Thu, 3 Dec 2020 13:51:12 -0700 Subject: Add support for custom item display preferences --- MediaBrowser.Controller/IDisplayPreferencesManager.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'MediaBrowser.Controller/IDisplayPreferencesManager.cs') 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 @@ -40,6 +40,22 @@ namespace MediaBrowser.Controller /// A list of item display preferences. IList ListItemDisplayPreferences(Guid userId, string client); + /// + /// Gets all of the custom item display preferences for the user and client. + /// + /// The user id. + /// The client string. + /// The dictionary of custom item display preferences. + IDictionary ListCustomItemDisplayPreferences(Guid userId, string client); + + /// + /// Sets the custom item display preference for the user and client. + /// + /// The user id. + /// The client id. + /// A dictionary of custom item display preferences. + void SetCustomItemDisplayPreferences(Guid userId, string client, Dictionary customPreferences); + /// /// Saves changes made to the database. /// -- cgit v1.2.3