diff --git a/CHANGES.md b/CHANGES.md index b48d1860..dd8d3938 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,10 @@ -### 3.29.3 (2023-05-31 13:30:00 UTC) +### 3.29.4 (2023-06-07 13:45:00 UTC) + +* Change allow Python 3.8.17, 3.9.17, 3.10.12 +* Fix setting airtime timezone for "Wanted" episodes during auto search + + +### 3.29.3 (2023-05-31 13:30:00 UTC) * Update UnRar x64 for Windows 6.21 to 6.22 * Change allow Python 3.11.4 diff --git a/sickgear.py b/sickgear.py index 6efd8f14..4df154ba 100755 --- a/sickgear.py +++ b/sickgear.py @@ -36,8 +36,8 @@ warnings.filterwarnings('ignore', module=r'.*ssl_.*', message='.*SSLContext obje warnings.filterwarnings('ignore', module=r'.*zoneinfo.*', message='.*file or directory.*') warnings.filterwarnings('ignore', message='.*deprecated in cryptography.*') -versions = [((3, 8, 2), (3, 8, 16)), - ((3, 9, 0), (3, 9, 2)), ((3, 9, 4), (3, 9, 16)), +versions = [((3, 8, 2), (3, 8, 17)), + ((3, 9, 0), (3, 9, 2)), ((3, 9, 4), (3, 9, 17)), ((3, 10, 0), (3, 11, 4))] # inclusive version ranges if not any(list(map(lambda v: v[0] <= sys.version_info[:3] <= v[1], versions))) and not int(os.environ.get('PYT', 0)): major, minor, micro = sys.version_info[:3] diff --git a/sickgear/search_queue.py b/sickgear/search_queue.py index 3880dcbe..ff7a5037 100644 --- a/sickgear/search_queue.py +++ b/sickgear/search_queue.py @@ -467,13 +467,15 @@ class RecentSearchQueueItem(generic_queue.QueueItem): continue try: - end_time = network_timezones.get_episode_time(cur_result['airdate'], - cur_result['airtime'] or show_obj.airs, - show_obj.network, - show_obj.timezone, - cur_result['timestamp'], - cur_result['network'], - cur_result['timezone'] + end_time = network_timezones.get_episode_time(d=cur_result['airdate'], + t=show_obj.airs, + show_network=show_obj.network, + show_airtime=show_obj.airtime, + show_timezone=show_obj.timezone, + ep_timestamp=cur_result['timestamp'], + ep_network=cur_result['network'], + ep_airtime=cur_result['airtime'], + ep_timezone=cur_result['timezone'] ) end_time += datetime.timedelta(minutes=helpers.try_int(cur_result['runtime'] or show_obj.runtime, 60))