From fd190f6a9af5beb4e0d39e168c599138bfca1c1e Mon Sep 17 00:00:00 2001 From: Linas Date: Sat, 2 Apr 2022 11:28:57 +0300 Subject: [PATCH] Additional sort options ['rtomatoes', 'metacritics', 'myanimelist'] added to the sort_names --- modules/mdblist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mdblist.py b/modules/mdblist.py index 784faf1f..2716a8ad 100644 --- a/modules/mdblist.py +++ b/modules/mdblist.py @@ -7,7 +7,7 @@ from urllib.parse import urlparse logger = util.logger builders = ["mdblist_list"] -sort_names = ["score", "released", "imdbrating", "imdbvotes", "imdbpopular", "tmdbpopular", "rogerebert", "budget", "revenue", "added"] +sort_names = ["score", "released", "imdbrating", "imdbvotes", "imdbpopular", "tmdbpopular", "rogerebert", "rtomatoes", "metacritics", "myanimelist", "budget", "revenue", "added"] list_sorts = [f"{s}.asc" for s in sort_names] + [f"{s}.desc" for s in sort_names] base_url = "https://mdblist.com/lists" api_url = "https://mdblist.com/api/"