Skip to content

Commit

Permalink
§zdfhbbtv: fix video url
Browse files Browse the repository at this point in the history
  • Loading branch information
satbaby committed Dec 18, 2021
1 parent 57f8401 commit 0301ec1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugins/zdfhbbtv/zdfhbbtv.lua
Expand Up @@ -645,14 +645,14 @@ function getZDFstream(tab)
local m3u8 = streams.h264_aac_ts_http_m3u8_http
local mpd = streams.h264_aac_mp4_http_mpd_http
if maxRes > 1281 and mp4 and mp4.main and mp4.main.deu and mp4.main.deu.q3 then
tab.stream = mp4.main.deu.q3
tab.stream = mp4.main.deu.q3.url
break
elseif maxRes < 1281 and mp4 and mp4.main and mp4.main.deu and mp4.main.deu.q1 then
tab.stream = mp4.main.deu.q1
tab.stream = mp4.main.deu.q1.url
elseif m3u8 and m3u8.main and m3u8.main.deu and m3u8.main.deu.q3 then
tab.stream , tab.audiostream = getVideoUrlM3U8(m3u8.main.deu.q3)
tab.stream , tab.audiostream = getVideoUrlM3U8(m3u8.main.deu.q3.url)
elseif mpd and mpd.main and mpd.main.deu then
tab.stream = mpd.main.deu
tab.stream = mpd.main.deu.url
end
end
end
Expand Down

0 comments on commit 0301ec1

Please sign in to comment.