[22] Merge branch 'refs/heads/axsuul/nightly' into nightly

pull/1704/head
meisnate12 1 year ago
commit 525aa28984

@ -12,13 +12,14 @@ Requirements: [Trakt Authentication](../../config/trakt)
## Collections Section 020 ## Collections Section 020
| Collection | Key | Description | | Collection | Key | Description |
|:--------------------|:--------------|:--------------------------------------------------------| |:--------------------|:--------------|:----------------------------------------------------------|
| `Trakt Collected` | `collected` | Collection of the Most Collected Movies/Shows on Trakt. | | `Trakt Anticipated` | `anticipated` | Collection of the Most Anticipated Movies/Shows on Trakt. |
| `Trakt Popular` | `popular` | Collection of the Most Popular Movies/Shows on Trakt. | | `Trakt Collected` | `collected` | Collection of the Most Collected Movies/Shows on Trakt. |
| `Trakt Recommended` | `recommended` | Collection of Recommended Movies/Shows on Trakt. | | `Trakt Popular` | `popular` | Collection of the Most Popular Movies/Shows on Trakt. |
| `Trakt Trending` | `trending` | Collection of Trending Movies/Shows on Trakt. | | `Trakt Recommended` | `recommended` | Collection of Recommended Movies/Shows on Trakt. |
| `Trakt Watched` | `watched` | Collection of the Most Watched Movies/Shows on Trakt. | | `Trakt Trending` | `trending` | Collection of Trending Movies/Shows on Trakt. |
| `Trakt Watched` | `watched` | Collection of the Most Watched Movies/Shows on Trakt. |
## Config ## Config

@ -12,7 +12,7 @@ builders = [
"trakt_collected_daily", "trakt_collected_weekly", "trakt_collected_monthly", "trakt_collected_yearly", "trakt_collected_all", "trakt_collected_daily", "trakt_collected_weekly", "trakt_collected_monthly", "trakt_collected_yearly", "trakt_collected_all",
"trakt_recommended_daily", "trakt_recommended_weekly", "trakt_recommended_monthly", "trakt_recommended_yearly", "trakt_recommended_all", "trakt_recommended_daily", "trakt_recommended_weekly", "trakt_recommended_monthly", "trakt_recommended_yearly", "trakt_recommended_all",
"trakt_watched_daily", "trakt_watched_weekly", "trakt_watched_monthly", "trakt_watched_yearly", "trakt_watched_all", "trakt_watched_daily", "trakt_watched_weekly", "trakt_watched_monthly", "trakt_watched_yearly", "trakt_watched_all",
"trakt_collection", "trakt_popular", "trakt_trending", "trakt_watchlist" "trakt_collection", "trakt_anticipated", "trakt_popular", "trakt_trending", "trakt_watchlist"
] ]
sorts = [ sorts = [
"rank", "added", "title", "released", "runtime", "popularity", "rank", "added", "title", "released", "runtime", "popularity",
@ -442,7 +442,7 @@ class Trakt:
try: try:
if method_name == "trakt_chart": if method_name == "trakt_chart":
final_dict = {} final_dict = {}
final_dict["chart"] = util.parse(err_type, "chart", trakt_dict, methods=dict_methods, parent=method_name, options=["recommended", "watched", "collected", "trending", "popular"]) final_dict["chart"] = util.parse(err_type, "chart", trakt_dict, methods=dict_methods, parent=method_name, options=["recommended", "watched", "anticipated", "collected", "trending", "popular"])
final_dict["limit"] = util.parse(err_type, "limit", trakt_dict, methods=dict_methods, parent=method_name, datatype="int", default=10) final_dict["limit"] = util.parse(err_type, "limit", trakt_dict, methods=dict_methods, parent=method_name, datatype="int", default=10)
final_dict["time_period"] = None final_dict["time_period"] = None
if final_dict["chart"] in ["recommended", "watched", "collected"] and "time_period" in dict_methods: if final_dict["chart"] in ["recommended", "watched", "collected"] and "time_period" in dict_methods:

Loading…
Cancel
Save