From 3d46e85dfc3c920b290cf2c90e09157f01cd6ab2 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Thu, 20 May 2021 14:33:48 +0200 Subject: [PATCH] svtplay: add the language to the subtitle. --- lib/svtplay_dl/service/svtplay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/svtplay_dl/service/svtplay.py b/lib/svtplay_dl/service/svtplay.py index 38920ab..b519daa 100644 --- a/lib/svtplay_dl/service/svtplay.py +++ b/lib/svtplay_dl/service/svtplay.py @@ -98,7 +98,7 @@ class Svtplay(Service, MetadataThumbMixin): if "subtitleReferences" in janson: for i in janson["subtitleReferences"]: if i["format"] == "webvtt" and "url" in i: - yield subtitle(copy.copy(self.config), "wrst", i["url"], output=self.output) + yield subtitle(copy.copy(self.config), "wrst", i["url"], "sv", output=self.output) if "videoReferences" in janson: if len(janson["videoReferences"]) == 0: