mirror of
https://github.com/jellyfin/TMDbLib.git
synced 2024-11-23 05:40:12 +00:00
discover tv vote average at most, vote count at most filters
This commit is contained in:
parent
0f2da9b626
commit
10b60581ea
@ -125,6 +125,15 @@ namespace TMDbLib.Objects.Discover
|
||||
return this;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Only include TV shows that are equal to, or have a lower average rating than this value. Expected value is a float.
|
||||
/// </summary>
|
||||
public DiscoverTv WhereVoteAverageIsAtMost(double score)
|
||||
{
|
||||
Parameters["vote_average.lte"] = score.ToString();
|
||||
return this;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Only include TV shows that are equal to, or have a vote count higher than this value. Expected value is an integer.
|
||||
/// </summary>
|
||||
@ -134,6 +143,15 @@ namespace TMDbLib.Objects.Discover
|
||||
return this;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Only include TV shows that are equal to, or have a vote count lower than this value. Expected value is an integer.
|
||||
/// </summary>
|
||||
public DiscoverTv WhereVoteCountIsAtMost(int count)
|
||||
{
|
||||
Parameters["vote_count.lte"] = count.ToString();
|
||||
return this;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Specifies which language to use for translatable fields
|
||||
/// </summary>
|
||||
|
Loading…
Reference in New Issue
Block a user