Filter out special season on tmdb absolute ordering (#524)

This commit is contained in:
Zoe Roux 2024-06-04 00:17:24 +02:00 committed by GitHub
parent 3088a8fc88
commit 9ed662c8c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -583,6 +583,8 @@ class TheMovieDatabase(Provider):
absgrp = [
ep
for grp in sorted(group["groups"], key=lambda x: x["order"])
# Some shows include specials as the first absolute group (like TenSura)
if grp["name"] != "Specials"
for ep in sorted(grp["episodes"], key=lambda x: x["order"])
]
season_starts = [