From 7ffc392492c4fda36389c1b595bf469b73a8fd37 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Thu, 30 May 2024 00:04:16 +0200 Subject: [PATCH] Fix tvdb absolute searching --- scanner/providers/implementations/thetvdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scanner/providers/implementations/thetvdb.py b/scanner/providers/implementations/thetvdb.py index 73147a0b..ebd44c16 100644 --- a/scanner/providers/implementations/thetvdb.py +++ b/scanner/providers/implementations/thetvdb.py @@ -179,7 +179,7 @@ class TVDB(Provider): ret = next( filter( - (lambda x: x["seasonNumber"] == 1 and x["number"] == absolute) + (lambda x: x["absoluteNumber"] == absolute) if absolute is not None else ( lambda x: x["seasonNumber"] == season and x["number"] == episode_nbr