mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 16:54:46 +03:00
Add GPL modules
This commit is contained in:
32
MediaBrowser.Model/Querying/QueryFilters.cs
Normal file
32
MediaBrowser.Model/Querying/QueryFilters.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using MediaBrowser.Model.Dto;
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Model.Querying
|
||||
{
|
||||
public class QueryFiltersLegacy
|
||||
{
|
||||
public string[] Genres { get; set; }
|
||||
public string[] Tags { get; set; }
|
||||
public string[] OfficialRatings { get; set; }
|
||||
public int[] Years { get; set; }
|
||||
|
||||
public QueryFiltersLegacy()
|
||||
{
|
||||
Genres = new string[] {};
|
||||
Tags = new string[] {};
|
||||
OfficialRatings = new string[] {};
|
||||
Years = new int[] { };
|
||||
}
|
||||
}
|
||||
public class QueryFilters
|
||||
{
|
||||
public NameGuidPair[] Genres { get; set; }
|
||||
public string[] Tags { get; set; }
|
||||
|
||||
public QueryFilters()
|
||||
{
|
||||
Tags = new string[] {};
|
||||
Genres = new NameGuidPair[] { };
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user