mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-23 19:55:38 +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]
|
||||
else:
|
||||
language = None
|
||||
self.config.set("subtitle_preferred", language)
|
||||
|
||||
if not self.config.get("get_all_subtitles"):
|
||||
if not language:
|
||||
|
Loading…
Reference in New Issue
Block a user