From 4c8370935e487e40937080b8b67fb7a31d7c544f Mon Sep 17 00:00:00 2001
From: Artikronisz <5531628+Artikronisz@users.noreply.github.com>
Date: Sun, 14 Jan 2024 03:51:40 -0500
Subject: [PATCH] Fix for WhereGenresExclude calling WhereGenresInclude
https://github.com/jellyfin/TMDbLib/issues/476
---
TMDbLib/Objects/Discover/DiscoverTv.cs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/TMDbLib/Objects/Discover/DiscoverTv.cs b/TMDbLib/Objects/Discover/DiscoverTv.cs
index 636913c7..56a794bd 100644
--- a/TMDbLib/Objects/Discover/DiscoverTv.cs
+++ b/TMDbLib/Objects/Discover/DiscoverTv.cs
@@ -189,15 +189,15 @@ public DiscoverTv IncludeNullFirstAirDates(bool include)
}
///
- /// Exclude TV shows with the specified genres. Expected value is a list of Generes.
+ /// Exclude TV shows with the specified genres. Expected value is a list of genres.
///
public DiscoverTv WhereGenresExclude(IEnumerable genres)
{
- return WhereGenresInclude(genres.Select(s => s.Id));
+ return WhereGenresExclude(genres.Select(s => s.Id));
}
///
- /// Exclude TV shows with the specified genres. Expected value is an integer (the id of a genre).
+ /// Exclude TV shows with the specified genres. Expected value is a list of integer (the id of a genre).
///
public DiscoverTv WhereGenresExclude(IEnumerable genreIds)
{