1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 13:44:14 +01:00

svtplay: revert change to only use cmaf files

This commit is contained in:
Johan Andersson 2021-10-30 12:37:52 +02:00
parent 9d5b6de59a
commit f97d838412

View File

@ -109,7 +109,7 @@ class Svtplay(Service, MetadataThumbMixin):
return
for i in janson["videoReferences"]:
if i["url"].find(".m3u8") > 0 and "hls-cmaf" in i["format"]:
if i["url"].find(".m3u8") > 0:
yield from hlsparse(self.config, self.http.request("get", i["url"]), i["url"], self.output)
elif i["url"].find(".mpd") > 0:
yield from dashparse(self.config, self.http.request("get", i["url"]), i["url"], output=self.output)