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

viaplay: dont override live flag

This commit is contained in:
Johan Andersson 2014-06-26 22:16:18 +02:00
parent e19b9e6316
commit 45e847d849

View File

@ -87,9 +87,6 @@ class Viaplay(Service, OpenGraphThumbMixin):
if streamj["streams"]["medium"]:
filename = streamj["streams"]["medium"]
if filename[len(filename)-3:] == "f4m":
#fulhack. RTMP need live to be set
if xml.find("Product").find("Syndicate").text == "true":
options.live = False
manifest = "%s?hdcore=2.8.0&g=hejsan" % filename
streams = hdsparse(copy.copy(options), manifest)
for n in list(streams.keys()):