From 0cec19b780d2034ec2ea2ae1d363715ec57e07b4 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Tue, 8 Oct 2013 18:36:23 +0200 Subject: [PATCH] svtplay: correct condition for rtmp-streams --- lib/svtplay_dl/service/svtplay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/svtplay_dl/service/svtplay.py b/lib/svtplay_dl/service/svtplay.py index c781cbc..020762c 100644 --- a/lib/svtplay_dl/service/svtplay.py +++ b/lib/svtplay_dl/service/svtplay.py @@ -53,7 +53,7 @@ class Svtplay(Service): stream = {} stream["url"] = i["url"] streams[int(i["bitrate"])] = stream - elif not options.hls: + elif not options.hls and i["url"][len(i["url"])-3:] != "f4m" and i["url"][len(i["url"])-4:] != "m3u8": stream = {} stream["url"] = i["url"] streams[int(i["bitrate"])] = stream