From eb9f3ed2ebfcb3ba9fbdfb07ff0ec56da6ccd4be Mon Sep 17 00:00:00 2001 From: mza921 Date: Thu, 5 Nov 2020 00:25:30 -0800 Subject: [PATCH] Remove validation for Trakt Trending List --- CHANGELOG.md | 4 ++++ app/plex_auto_collections.py | 2 +- app/trakt_tools.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cbea9d3..86e9d6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.4.4] - 2020-11-05 - [#96](https://github.com/mza921/Plex-Auto-Collections/pull/96) +### Fixed +- [#94](https://github.com/mza921/Plex-Auto-Collections/issues/94) - Fixed Trakt Trending (again) + ## [2.4.3] - 2020-11-05 - [#96](https://github.com/mza921/Plex-Auto-Collections/pull/96) ### Fixed - [#93](https://github.com/mza921/Plex-Auto-Collections/issues/93) - fixed max_age diff --git a/app/plex_auto_collections.py b/app/plex_auto_collections.py index be6ccda..c65ab9b 100644 --- a/app/plex_auto_collections.py +++ b/app/plex_auto_collections.py @@ -794,7 +794,7 @@ def append_collection(config_path, config_update=None): print("| |_| |_|\___|/_\_\ /_/ \_\\\\_,_| \__|\___/ \___|\___/|_||_|\___|\__| \__||_|\___/|_||_|/__/ |") print("| |") print("|===================================================================================================|") -print("| Version 2.4.3") +print("| Version 2.4.4") print("| Locating config...") config_path = None app_dir = os.path.dirname(os.path.abspath(__file__)) diff --git a/app/trakt_tools.py b/app/trakt_tools.py index ffda6c7..f7e0b11 100644 --- a/app/trakt_tools.py +++ b/app/trakt_tools.py @@ -73,7 +73,7 @@ def trakt_get_shows(config_path, plex, data, is_userlist=True): trakt_list_items = trakt.Trakt[trakt_list_path].items() else: # Trending list - max_items = int(regex_first_int(data, "Trakt Trending number")) + max_items = int(data) trakt_list_items = trakt.Trakt['shows'].trending(per_page=max_items) tvdb_map = {}