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 #315

Open
mgostIH opened this issue Jan 13, 2024 · 1 comment

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.

@timpoldo
Copy link

Same issue here.
For all RAI channels.

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

3 participants
@mgostIH @timpoldo and others