You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a second step, the new URL would then have to be rewritten. E.g. like ttp://iptvnz.myserver.nz/c2a34a52/demo/test/dz1g25geip0uq.cloudfront.net/master_33.m3u8
Hi!
I'm trying to use iptv-proxy with MATT HUISMAN's m3u8s (https://www.matthuisman.nz/).
e.g. with https://i.mjh.nz/nz/raw-tv.m3u8 for the free tv channels from New Zealand.
Situation without proxy
At the source it looks something like this:
https://i.mjh.nz/nz/raw-tv.m3u8
has a list of channels:
The individual channel e.g.:
https://i.mjh.nz/tvnz-1.m3u8
then does a redirect e.g. to:
"https://dz1g25geip0uq.cloudfront.net/master.m3u8"
(Hint: The hostname is changing all the time, the url only works in New Zealand)
master.m3u8 then has various relative urls for the different qualities of the stream:
master_33.m3u8:
Situation with proxy
Let's say this is the URL to my iptv proxy:
https://iptvnz.myserver.nz/iptv.m3u?username=demo&password=test
then it is first correctly rewritten as:
the content of tvnz-1.m3u8 is:
However, if you retrieve master_33.m3u8 from iptvnz.myserver.nz you will end up with a 404 error.
Is there already a solution to this problem?
Possible solution outline
Obviously the IPTV proxy already follows the redirect. But the result is missing any reference to the redirect.
In my opinion, redirects would have to be recognized and then relative urls would have to be eliminated first:
e.g.
master_33.m3u8 => https://dz1g25geip0uq.cloudfront.net/master_33.m3u8
In a second step, the new URL would then have to be rewritten. E.g. like ttp://iptvnz.myserver.nz/c2a34a52/demo/test/dz1g25geip0uq.cloudfront.net/master_33.m3u8
Also the
#EXT-X-KEY:METHOD=AES-128,URI="https://d2k40ydor517br.cloudfront.net/Tvnz1-2019/b3596451-61c5-47de-bded-3965a51969c5"
needs to be rewritten/proxyed.
The text was updated successfully, but these errors were encountered: