jellyfin-server/MediaBrowser.Controller/Library/IUserViewManager.cs
2017-10-13 01:43:11 -04:00

23 lines
831 B
C#

using MediaBrowser.Controller.Entities;
using MediaBrowser.Model.Library;
using MediaBrowser.Model.Querying;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using MediaBrowser.Controller.Dto;
namespace MediaBrowser.Controller.Library
{
public interface IUserViewManager
{
Task<Folder[]> GetUserViews(UserViewQuery query, CancellationToken cancellationToken);
UserView GetUserSubViewWithName(string name, string parentId, string type, string sortName, CancellationToken cancellationToken);
UserView GetUserSubView(string category, string type, string localizationKey, string sortName, CancellationToken cancellationToken);
List<Tuple<BaseItem, List<BaseItem>>> GetLatestItems(LatestItemsQuery request, DtoOptions options);
}
}