aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Library/IUserViewManager.cs
blob: 76182c641b783246b5950e6c7159b33c5ea786d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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);

        Task<UserView> GetUserSubView(string name, string parentId, string type, string sortName, CancellationToken cancellationToken);

        Task<UserView> GetUserSubView(string category, string type, string sortName, CancellationToken cancellationToken);

        List<Tuple<BaseItem, List<BaseItem>>> GetLatestItems(LatestItemsQuery request, DtoOptions options);
    }
}