Fix tmdb absolute fill for the last episode (#499)

This commit is contained in:
Zoe Roux 2024-05-16 00:49:01 +02:00 committed by GitHub
parent 299b3e2328
commit b2b09c58db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 (