sleeyax / stremio-easynews-addon

https://b89262c192b0-stremio-easynews-addon.baby-beamup.club
MIT License
27 stars 7 forks source link

Add Stremio web support #23

Open sleeyax opened 3 months ago

sleeyax commented 3 months ago

https://www.reddit.com/r/StremioAddons/s/J63gc8jrld

sleeyax commented 3 months ago

The url returned by the addon is a private url which requires authentication and redirects the player to the actual public video url via the Location header in the http response. If we want to support web we must extract this public url from the response and return the resulting public url instead.

sleeyax commented 2 weeks ago

Important tot note that the inner public stream should be extracted on a per-stream basis. Resolving all of them beforehand (before returning the streams object that is) would take too long.

We likely need to convert from the stremio-addon-sdk to a custom express.js (or similar) setup in order to support this.