jellyfin / TMDbLib

C#.Net library for TheMovieDB
MIT License
344 stars 128 forks source link

DiscoverMovie missing 'with_release_type' parameter #422

Closed bvanderw closed 1 year ago

bvanderw commented 1 year ago

DiscoverMovie is missing the 'with_release_type' parameter.

Probably something like this would work:

public static DiscoverMovie IncludeReleaseTypes(IEnumerable<ReleaseDateType> releaseTypes)
{
   Parameters["with_release_type"] = string.Join("|", releaseTypes.Select(r => ((int)r).ToString()));
   return this;
}
LordMike commented 1 year ago

I don't understand this option. If I put in 1,2,3 what does that mean?..

Ooh, its these:

1. Premiere
2. Theatrical (limited)
3. Theatrical
4. Digital
5. Physical
6. TV

Update: I cannot make the AND edition work, but the OR seems to work.