From 25f734fa434a07e562f0fd8b050341f3bfda2c07 Mon Sep 17 00:00:00 2001 From: Mikael Larsson Date: Mon, 8 Jan 2024 19:47:42 +0100 Subject: [PATCH] tv4play: make all-last great again --- lib/svtplay_dl/service/tv4play.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/svtplay_dl/service/tv4play.py b/lib/svtplay_dl/service/tv4play.py index fde4d5b..ecf2132 100644 --- a/lib/svtplay_dl/service/tv4play.py +++ b/lib/svtplay_dl/service/tv4play.py @@ -138,7 +138,7 @@ class Tv4play(Service, OpenGraphThumbMixin): episodes.append(f"https://www.tv4play.se/video/{item}") if config.get("all_last") > 0: - return episodes[-config.get("all_last") :] + return episodes[: config.get("all_last")] if not episodes: logging.warning("Can't find any videos") return episodes