The goal of this project is to be able to stream a M3U files inside a Discord video player.
The current solution consist on an API, that download the episode in a tmp directory to serve it using og: metadata to make a working episode player inside Discord. This involve that we have to wait before being able to play a video. See an eventual better solution.
This API consist on 1 endpoint:
https://mp4.gazes.fr/download/{anime_id}/{episode}/{lang}
It will return a link to the file when ready:
https://mp4.gazes.fr/result/{download_id}
And the actual file is available at:
https://mp4.gazes.fr/video/{download_id}.mp4
You can reach me over Discord at @airo.pi
. Feel free to open an issue if you encounter any problem! Feel free to contribute if you see a solution.
Discord M3U stream is under the MIT Licence.