mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
viaplay: forgot else after that f4m fix.
This commit is contained in:
parent
92ef824fef
commit
fe463a1567
@ -49,7 +49,6 @@ class Viaplay(Service, OpenGraphThumbMixin):
|
||||
|
||||
return None
|
||||
|
||||
|
||||
def get(self, options):
|
||||
vid = self._get_video_id()
|
||||
if vid is None:
|
||||
@ -72,9 +71,6 @@ class Viaplay(Service, OpenGraphThumbMixin):
|
||||
bitrate = xml.find("Product").find("Videos").find("Video").find("BitRate").text
|
||||
yield subtitle_sami(xml.find("Product").find("SamiFile").text)
|
||||
|
||||
if options.subtitle and options.force_subtitle:
|
||||
return
|
||||
|
||||
if filename[len(filename)-3:] == "f4m":
|
||||
#fulhack. RTMP need live to be set
|
||||
if xml.find("Product").find("Syndicate").text == "true":
|
||||
|
Loading…
Reference in New Issue
Block a user