Stremio Support {Rough} #763
Conversation
killergerbah
left a comment
There was a problem hiding this comment.
Thanks for the contribution, and sorry for taking so long to get to this. Been pretty busy IRL.
Just one comment - it would be ideal if we could get the language from somewhere.
| if (!discoveredSubtitles.has(url)) { | ||
| const track = trackFromDef({ | ||
| label: `Stremio ${trackIndex++}`, | ||
| language: '', |
There was a problem hiding this comment.
There's no way to extract some kind of language information? An empty string will probably break the "Remember these tracks on this site" feature.
There was a problem hiding this comment.
I will try and tinker tomorrow if I have time, but I can't think of any non-scuffed methods at the moment.
Currently thinking of finding out what buttons have been clicked/interacted with or just checking the subtitle text lol.
There was a problem hiding this comment.
I see, then maybe we can just disable the "Remember these tracks" feature for this site. I can work on that.
There was a problem hiding this comment.
Another idea: are the tracks usually in a specific order? Like English first then original?
There was a problem hiding this comment.
Another idea: are the tracks usually in a specific order? Like English first then original?
Not really, subtitles can also change (be removed / added). I think its best to disable the "Remember these tracks".
Screenshots below if they help, showing the web.stremio subtitle options, and the asb player loaded subs.




The subtitles are ordered/numbered here in order loaded... not ideal, but for my use case, works very well.... `
|
Thanks @SpazzTL |
I'll start refining this hopefully shortly. I haven't tried intercepting HTTP response payloads yet, I think?. I'll look into other scripts and see if I can come up with a more stable experience. I don't think remembering tracks should be enabled for this script, just due to how stremio handles subtitles. I haven't used this or asbplayer in general much recently, but I plan to work on this script while watching some media with it soon. |
A rough, initial start for Stremio Support.
Subtitles MUST be enabled first on the site, before ASB will recognize them. (This is unavoidable AFAIK)
Subtitles are named
Subtitle 1 -> Subtitle 2and so on, as Stremio subs have same/no names...Known Errors:
Solves issue #716