From 347403e9e719610e23620a93d2ff6e50928b3b5c Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Wed, 29 Nov 2023 22:24:23 +0100 Subject: [PATCH] hls: use the correct language --- lib/svtplay_dl/fetcher/hls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/svtplay_dl/fetcher/hls.py b/lib/svtplay_dl/fetcher/hls.py index d774395..60ff3ec 100644 --- a/lib/svtplay_dl/fetcher/hls.py +++ b/lib/svtplay_dl/fetcher/hls.py @@ -168,7 +168,7 @@ def _hlsparse(config, text, url, output, **kwargs): if subtitles: for sub in list(subtitles.keys()): for n in subtitles[sub]: - subfix = n[2] + subfix = n[1] if len(subtitles[sub]) > 1: if subfix: subfix = f"{n[1]}-caption"