Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ITA] RAI Works temporarily, then stops. Might be redirect + frequent change of m3u8 #486

Open
mgostIH opened this issue Jan 13, 2024 · 4 comments

Comments

@mgostIH
Copy link

mgostIH commented Jan 13, 2024

The italian RAI channels use the following link (example with RAI2, tested):
https://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=2606803&output=16

This redirects and downloads an m3u8 file, which contains the streams link mpv will go read contents.
This works for a few minutes, but afterwards the cache stops increasing and the stream ends.
I noticed by downloading manually the m3u8 file at different times that the sha256 hash changes, indicating that the redirect only gives an m3u8 that lasts for a little while.
Given that RAI also implements geo blocking it might not be easy for the observe this (they also block some VPNs), but given the above description does anyone know if implementing something that periodically redownloads the m3u8 and joins it at the end of the current seen stream would work? I will check if mpv supports this too.

@mgostIH
Copy link
Author

mgostIH commented Jan 13, 2024

Oh, I thought I was in the Hypnotix repo, I will move it there but keep it open in case any dev has a suggestion. Feel free to close if out of scope.

@timpoldo
Copy link

I've the same issue

@infid0
Copy link
Collaborator

infid0 commented Apr 12, 2024

@mgostIH please test this stream:
https://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=2606803&output=7&forceUserAgent=raiplayappletv
If it's better i'll change all Rai urls. Thank You! :3

@Jianluca
Copy link

For the Rai &forceUserAgent=raiplayappletv channels it applies only to Rai1 and Rai2, for the others you can use &forceUserAgent=hbbtv so you have them at 1080 DASH (not for Raisport because it has DRM)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants