From e33244d7971f0299cd21297597da6181d01631e9 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 29 Oct 2014 18:01:02 -0400 Subject: improve user view images --- MediaBrowser.Controller/Library/ILibraryManager.cs | 19 ++++++++++++++----- MediaBrowser.Controller/Library/IUserViewManager.cs | 2 +- 2 files changed, 15 insertions(+), 6 deletions(-) (limited to 'MediaBrowser.Controller/Library') diff --git a/MediaBrowser.Controller/Library/ILibraryManager.cs b/MediaBrowser.Controller/Library/ILibraryManager.cs index f93564882..be43f4527 100644 --- a/MediaBrowser.Controller/Library/ILibraryManager.cs +++ b/MediaBrowser.Controller/Library/ILibraryManager.cs @@ -325,15 +325,21 @@ namespace MediaBrowser.Controller.Library IEnumerable ReplaceVideosWithPrimaryVersions(IEnumerable items); /// - /// Gets the named folder. + /// Gets the special folder. /// + /// The user. /// The name. - /// The category. + /// The parent identifier. /// Type of the view. /// Name of the sort. /// The cancellation token. - /// Task{Folder}. - Task GetNamedView(string name, string category, string viewType, string sortName, CancellationToken cancellationToken); + /// Task<UserView>. + Task GetSpecialFolder(User user, + string name, + string parentId, + string viewType, + string sortName, + CancellationToken cancellationToken); /// /// Gets the named view. @@ -343,6 +349,9 @@ namespace MediaBrowser.Controller.Library /// Name of the sort. /// The cancellation token. /// Task<UserView>. - Task GetNamedView(string name, string viewType, string sortName, CancellationToken cancellationToken); + Task GetNamedView(string name, + string viewType, + string sortName, + CancellationToken cancellationToken); } } \ No newline at end of file diff --git a/MediaBrowser.Controller/Library/IUserViewManager.cs b/MediaBrowser.Controller/Library/IUserViewManager.cs index 5b6189837..12dc9c0b2 100644 --- a/MediaBrowser.Controller/Library/IUserViewManager.cs +++ b/MediaBrowser.Controller/Library/IUserViewManager.cs @@ -10,7 +10,7 @@ namespace MediaBrowser.Controller.Library { Task> GetUserViews(UserViewQuery query, CancellationToken cancellationToken); - Task GetUserView(string type, User user, string sortName, CancellationToken cancellationToken); + Task GetUserView(string type, string sortName, CancellationToken cancellationToken); Task GetUserView(string category, string type, User user, string sortName, CancellationToken cancellationToken); } -- cgit v1.2.3