1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 04:05:39 +01:00

viafree: set a preferred language on subtitle

This commit is contained in:
Johan Andersson 2021-05-22 22:59:43 +02:00
parent 0fdcb1e1f0
commit 1c3d8f114b

View File

@ -98,6 +98,7 @@ class Viafree(Service, OpenGraphThumbMixin):
language = country[lang] language = country[lang]
else: else:
language = None language = None
self.config.set("subtitle_preferred", language)
if not self.config.get("get_all_subtitles"): if not self.config.get("get_all_subtitles"):
if not language: if not language: