Lowered the tollerance for what objects we choose to look at by tmdb. That is we only accept items that have some value of vote or popularity.
This commit is contained in:
@@ -37,7 +37,7 @@ class TMDB {
|
||||
.then((response) => {
|
||||
try {
|
||||
let filteredTmdbItems = response.results.filter(function(tmdbResultItem) {
|
||||
return ((tmdbResultItem.vote_count >= 40 || tmdbResultItem.popularity > 8) && (tmdbResultItem.release_date !== undefined || tmdbResultItem.first_air_date !== undefined))
|
||||
return ((tmdbResultItem.vote_count >= 10 || tmdbResultItem.popularity > 2) && (tmdbResultItem.release_date !== undefined || tmdbResultItem.first_air_date !== undefined))
|
||||
})
|
||||
|
||||
let seasonedItems = filteredTmdbItems.map((tmdbItem) => {
|
||||
|
||||
Reference in New Issue
Block a user