Stremio / stremio-addon-sdk

🧙 A Node.js SDK for creating and publishing Stremio add-ons
https://www.stremio.com/addon-sdk
MIT License
605 stars 158 forks source link

Issue with Missing Filename in extraArgs When Using Real Debrid #282

Open Nitzantomer1998 opened 1 month ago

Nitzantomer1998 commented 1 month ago

Hi,

I'm not sure if this is the right place to address this, but I'm facing an issue with my addon (subtitles provider).

I rely on the filename provided in the extraArgs of the URL to match subtitles. This method works great, except when the user is using Real Debrid. For some reason, the filename doesn't exist in the extraArgs when Real Debrid is used.

Is there a way to obtain the filename in this scenario? When not using Real Debrid, the filename is present, but with Real Debrid, it isn't.

Note: If it's relevant, I'm using Torrentio.

TwilightMercy commented 1 month ago

Referencing: https://github.com/Stremio/stremio-addon-sdk/issues/248

Is it common issue for HTTP streams (such as Debrid services) and not direct torrents streaming? Example: filename=The.Avengers.2012.720p.BluRay.x264.YIFY.mp4 through Real Debrid the stream URL / filename should be: https://download.real-debrid.com/d/<USER_API_KEY>/The.Avengers.2012.720p.BluRay.x264.YIFY.mp4