Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stream with empty url #230

Open
anime-src opened this issue Aug 27, 2023 · 2 comments
Open

Stream with empty url #230

anime-src opened this issue Aug 27, 2023 · 2 comments

Comments

@anime-src
Copy link

Hi, not sure if ticket is on sdk or stremio package for android tv,
but in builder.defineStreamHandler express app, if you define multiple streams like

 streams: [
    {
      name: 'Name1',
      title: 'My Title 2',
      url: '',
    },
    {
       name: 'Name2',
      title: 'My Title 2',
      url: 'https://mylink2.m3u8',
    },
    {
         name: 'Name3',
      title: 'My Title 3',
      url: 'https://mylink3.m3u8',
    }

and one empty url, stremio on android tv (google app store version) will return no streams found
that behavior was not present on windows, web, or android tv package downloaded from stremio site

@jaruba
Copy link
Member

jaruba commented Aug 27, 2023

Are you sure it works in Stremio Web? from this link: https://web.stremio.com/

I'm asking because both the android tv app and the web app use the new core, while the mobile and desktop apps use the old core.

The new core is built with Rust and is type safe (see the stremio-core repository) which can cause deserialization errors if addons don't provide data correctly.

@anime-src
Copy link
Author

Yes tested with web version and i did get streams, now i think web version only showed streams that have url defined, need to confirm this, but the one from google app store showed no streams found, stream with empty url was always first one in streams list, had addon running localy so i can see json returning from addon when android tv was requesting, quick fix was to remove streams where url is empty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants