Some checks failed
release / build-release (push) Has been cancelled
- IChannel: creators -> sub-channels -> video posts (public listing API, search mapped) - IRequiresMediaInfoCallback -> signed proxy URLs; stream controller rewrites HLS so the AES-128 key is fetched server-side with the session cookie, segments stay on the CDN - delivery/info cached per token lifetime and throttled (~2/min) - config page: paste sails.sid + validate, extra creators, quality, search test - scripts/package.sh -> plugin folder + zip + md5 + manifest.json; Gitea release workflow - research docs, HAR analysis (HAR itself gitignored), install-pi5.sh Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
23 lines
580 B
Plaintext
23 lines
580 B
Plaintext
sub init()
|
|
m.top.functionname = "request"
|
|
end sub
|
|
|
|
function request()
|
|
video = createObject("roUrlTransfer")
|
|
video.SetCertificatesFile("common:/certs/ca-bundle.crt")
|
|
video.InitClientCertificates()
|
|
video.SetUrl(m.top.url)
|
|
port = CreateObject("roMessagePort")
|
|
video.SetMessagePort(port)
|
|
if video.AsyncGetToString()
|
|
event = wait(10000, port)
|
|
if type(event) = "roUrlEvent"
|
|
m3u8 = event.GetString()
|
|
if m3u8 <> invalid and m3u8.Len() > 0
|
|
WriteAsciiFile("tmp:/live.m3u8", m3u8)
|
|
end if
|
|
end if
|
|
end if
|
|
m.top.done = true
|
|
end function
|