1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 12:15:40 +01:00

picsearch: don’t try to parse rtmp with hds

This commit is contained in:
Johan Andersson 2014-12-17 21:06:08 +01:00
parent cecbcda162
commit d341782100

View File

@ -43,6 +43,8 @@ class Picsearch(Service, OpenGraphThumbMixin):
options.other = "-y '%s'" % i["url"] options.other = "-y '%s'" % i["url"]
yield RTMP(copy.copy(options), server, i["height"]) yield RTMP(copy.copy(options), server, i["height"])
if "provider" in playlist: if "provider" in playlist:
if playlist["provider"] != "rtmp":
if "live" in playlist:
options.live = playlist["live"] options.live = playlist["live"]
if playlist["url"].endswith(".f4m"): if playlist["url"].endswith(".f4m"):
streams = hdsparse(copy.copy(options), playlist["url"]) streams = hdsparse(copy.copy(options), playlist["url"])