mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-10 01:38:49 +01:00
Stub out new filtering api
This commit is contained in:
@@ -14,6 +14,7 @@ namespace MediaBrowser.Model.LiveTv
|
||||
ChannelIds = new string[] { };
|
||||
OrderBy = new Tuple<string, SortOrder>[] { };
|
||||
Genres = new string[] { };
|
||||
GenreIds = new string[] { };
|
||||
EnableTotalRecordCount = true;
|
||||
EnableUserData = true;
|
||||
}
|
||||
@@ -110,6 +111,7 @@ namespace MediaBrowser.Model.LiveTv
|
||||
/// Limit results to items containing specific genres
|
||||
/// </summary>
|
||||
/// <value>The genres.</value>
|
||||
public string[] GenreIds { get; set; }
|
||||
public string[] Genres { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,14 +1,15 @@
|
||||
|
||||
using MediaBrowser.Model.Dto;
|
||||
|
||||
namespace MediaBrowser.Model.Querying
|
||||
{
|
||||
public class QueryFilters
|
||||
public class QueryFiltersLegacy
|
||||
{
|
||||
public string[] Genres { get; set; }
|
||||
public string[] Tags { get; set; }
|
||||
public string[] OfficialRatings { get; set; }
|
||||
public int[] Years { get; set; }
|
||||
|
||||
public QueryFilters()
|
||||
public QueryFiltersLegacy()
|
||||
{
|
||||
Genres = new string[] { };
|
||||
Tags = new string[] { };
|
||||
@@ -16,4 +17,15 @@ namespace MediaBrowser.Model.Querying
|
||||
Years = new int[] { };
|
||||
}
|
||||
}
|
||||
public class QueryFilters
|
||||
{
|
||||
public NameIdPair[] Genres { get; set; }
|
||||
public string[] Tags { get; set; }
|
||||
|
||||
public QueryFilters()
|
||||
{
|
||||
Tags = new string[] { };
|
||||
Genres = new NameIdPair[] { };
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user