stremio-bugs icon indicating copy to clipboard operation
stremio-bugs copied to clipboard

meta.links (detail) - mixed results

Open youchi1 opened this issue 6 months ago • 13 comments

Stremio Platform

Desktop (Windows)

Describe the bug

I added some functionality to my addon (more here), which uses stremio:///detail/${type}/${id} in streams.externalUrl.

There are mixed results on different platforms, see below:

Tested behavior by me:

  • Windows Stremio v4 - in-app redirection
  • Windows Stremio v5 - not supported
  • Stremio Web - not supported
  • Android Mobile - in-app redirection
  • Android Mobile v2 - in-app redirection
  • Android TV - in-app redirection

Tested behavior by users from comments:

  • Tizen OS (Samsung) - not supported
  • Mac OS - inconsistent behavior

Do you plan to add support to all platforms? Why does the new version for Windows (v5) not support it, while the old version does?

To Reproduce

Install and check

Expected behavior

working everywhere

Screenshots

No response

Desktop (if applicable)

No response

Smartphone (if applicable)

No response

TV (if applicable)

No response

Logs


Notes

No response

youchi1 avatar Jun 23 '25 17:06 youchi1

this will be fixed in the next release

TRtomasz avatar Jun 25 '25 09:06 TRtomasz

windows v5? What about stremio web?

youchi1 avatar Jun 25 '25 18:06 youchi1

windows v5? What about stremio web?

windows v5 uses stremio web for the UI

tymmesyde avatar Jun 26 '25 13:06 tymmesyde

Yeah, but I tested new app (beta 24) on web.stremio and clicking on "stremio:///" still redirects to Desktop app. I know it is probably intended, but it would be nice to be able to redirect within that browser tab (not new tab), just like mobile/desktop app redirects within the app.

Btw why do I see old "beta 23" after reinstalling Windows v5? Downloaded from https://www.stremio.com/downloads

youchi1 avatar Jun 27 '25 06:06 youchi1

Yeah, but I tested new app (beta 24) on web.stremio and clicking on "stremio:///" still redirects to Desktop app. I know it is probably intended, but it would be nice to be able to redirect within that browser tab (not new tab), just like mobile/desktop app redirects within the app.

Btw why do I see old "beta 23" after reinstalling Windows v5? Downloaded from https://www.stremio.com/downloads

this is not possible to do, uri scheme are meant to open apps from other apps

it's because it's cached, it will probably update itself in a few hours

tymmesyde avatar Jun 27 '25 06:06 tymmesyde

thanks for answering.

I tested uri button on windows ( app v5.0.0-beta.25) and it does't work. It opens browser with uri as link.

youchi1 avatar Jun 27 '25 14:06 youchi1

what do you mean by uri button on windows?

tymmesyde avatar Jun 28 '25 01:06 tymmesyde

stream pointing to uri (streams.externaUrl)

youchi1 avatar Jun 28 '25 08:06 youchi1

{
    "streams": [
        {
            "name": "TMDB Collections",
            "description": "📚 \"Trainwreck\"\nMovie is part of 👆\nClick and go to the collection",
            "externalUrl": "stremio:///detail/movie/tmdbcDev.1502591"
        }
    ]
}

youchi1 avatar Jun 28 '25 08:06 youchi1

like the name of this field suggest it's meant for opening an external url related to playing the stream, it's not meant to be used as a deeplink

tymmesyde avatar Jun 28 '25 10:06 tymmesyde

not true: https://github.com/Stremio/stremio-addon-sdk/blob/master/docs/api/responses/stream.md

it works on other platforms, as stated in original post.

youchi1 avatar Jun 28 '25 10:06 youchi1

i didn't even know we supported this and misunderstood your issue, i thought you were talking about the fact that the deeplinks didn't worked when you used stremio uri scheme with externalUrl on a browser

tymmesyde avatar Jun 28 '25 10:06 tymmesyde

I also tested this and every app has a different behavior. Doesn't matter what deeplink is used.

  • Web v5 opens a blank tab
  • WebOS just keeps loading forever
  • AndroidTV opens another instance of the app every time you click the stream
  • Android Beta opens the video player and then (not always) redirects

Refer: https://github.com/Stremio/stremio-addon-sdk/blob/master/docs/advanced.md#using-deep-links-in-addons

rudepineapple avatar Jul 09 '25 15:07 rudepineapple