[37] add '.any' modifier to a few search attributes (#2229)

This commit is contained in:
Chaz Larson 2024-09-20 12:10:17 -05:00 committed by GitHub Action
parent a1063e3487
commit a48c727118
3 changed files with 32 additions and 10 deletions

View file

@ -32,4 +32,5 @@ Fixed #2176 `clean_bundles`, `optimize`, and `empty_trash` not working as global
Fixed #2186 `total_runtime` will now trigger an overlay update Fixed #2186 `total_runtime` will now trigger an overlay update
Fixed #2195 an image on the docs was a dead link Fixed #2195 an image on the docs was a dead link
Fixes sort order of resolution collections Fixes sort order of resolution collections
Fixes #2228 ".any" not accepted for a variety of imdb_search parameters
Various other Minor Fixes Various other Minor Fixes

View file

@ -1 +1 @@
2.0.2-build36 2.0.2-build37

View file

@ -42,16 +42,37 @@ chart_urls = {
"trending_tamil": "india/tamil", "trending_tamil": "india/tamil",
"trending_telugu": "india/telugu", "trending_telugu": "india/telugu",
} }
imdb_search_attributes = [ imdb_search_attributes = [
"limit", "sort_by", "title", "type", "type.not", "release.after", "release.before", "rating.gte", "rating.lte", "limit",
"votes.gte", "votes.lte", "genre", "genre.any", "genre.not", "topic", "topic.any", "topic.not", "sort_by",
"alternate_version", "alternate_version.not", "crazy_credit", "crazy_credit.not", "location", "location.not", "title",
"goof", "goof.not", "plot", "plot.not", "quote", "quote.not", "soundtrack", "soundtrack.not", "type", "type.not",
"trivia", "trivia.not", "event", "event.winning", "imdb_top", "imdb_bottom", "company", "content_rating", "release.after", "release.before", "rating.gte", "rating.lte",
"country", "country.any", "country.not", "country.origin", "keyword", "keyword.any", "votes.gte", "votes.lte",
"keyword.not", "series", "series.not", "list", "list.any", "list.not", "language", "language.any", "language.not", "genre", "genre.any", "genre.not",
"language.primary", "popularity.gte", "popularity.lte", "cast", "cast.any", "cast.not", "runtime.gte", "topic", "topic.any", "topic.not",
"runtime.lte", "adult", "alternate_version", "alternate_version.any", "alternate_version.not",
"crazy_credit", "crazy_credit.any", "crazy_credit.not",
"location", "location.any", "location.not",
"goof", "goof.any", "goof.not",
"plot", "plot.any", "plot.not",
"quote", "quote.any", "quote.not",
"soundtrack", "soundtrack.any", "soundtrack.not",
"trivia", "trivia.any", "trivia.not",
"event", "event.winning",
"imdb_top", "imdb_bottom",
"company",
"content_rating",
"country", "country.any", "country.not", "country.origin",
"keyword", "keyword.any", "keyword.not",
"series", "series.not",
"list", "list.any", "list.not",
"language", "language.any", "language.not", "language.primary",
"popularity.gte", "popularity.lte",
"cast", "cast.any", "cast.not",
"runtime.gte", "runtime.lte",
"adult",
] ]
sort_by_options = { sort_by_options = {
"popularity": "POPULARITY", "popularity": "POPULARITY",