From b2b09c58dbd4f7286fc0acd47684bcf05a63434e Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Thu, 16 May 2024 00:49:01 +0200 Subject: [PATCH] Fix tmdb absolute fill for the last episode (#499) --- scanner/providers/implementations/themoviedatabase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scanner/providers/implementations/themoviedatabase.py b/scanner/providers/implementations/themoviedatabase.py index 3cf99a88..7b2675a4 100644 --- a/scanner/providers/implementations/themoviedatabase.py +++ b/scanner/providers/implementations/themoviedatabase.py @@ -601,7 +601,7 @@ class TheMovieDatabase(Provider): for s in show.seasons # ignore specials not specified in the absgrp if s.season_number > 0 - for e in range(1, s.episodes_count) + for e in range(1, s.episodes_count + 1) if not any( x["season_number"] == s.season_number and (