diff --git a/lib/svtplay_dl/service/picsearch.py b/lib/svtplay_dl/service/picsearch.py index 7b5fa03..9bede8f 100644 --- a/lib/svtplay_dl/service/picsearch.py +++ b/lib/svtplay_dl/service/picsearch.py @@ -43,9 +43,11 @@ class Picsearch(Service, OpenGraphThumbMixin): options.other = "-y '%s'" % i["url"] yield RTMP(copy.copy(options), server, i["height"]) if "provider" in playlist: - options.live = playlist["live"] - if playlist["url"].endswith(".f4m"): - streams = hdsparse(copy.copy(options), playlist["url"]) - if streams: - for n in list(streams.keys()): - yield streams[n] + if playlist["provider"] != "rtmp": + if "live" in playlist: + options.live = playlist["live"] + if playlist["url"].endswith(".f4m"): + streams = hdsparse(copy.copy(options), playlist["url"]) + if streams: + for n in list(streams.keys()): + yield streams[n]