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:
parent
0fdcb1e1f0
commit
1c3d8f114b
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user