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

Stremio on Linux not calling stream handler, also extra characters in genre. #298

Open
ThanosDi opened this issue Aug 26, 2024 · 1 comment

Comments

@ThanosDi
Copy link

OS: Ubuntu 22.04.4 LTS (Jammy Jellyfish)
Linux app:
Stremio 4.4.168
Web UI 4.4.172
Server 4.20.8

I have a catalog plugin that can't trigger the stream handler.

Sample manifest:

{
    id: 'org.stremio.my-addon-catalog',
    version: '1.0.0',
    name: 'My addon',
    description: 'Addon providing a catalog',
    resources: ['catalog', 'stream', 'meta'],
    types: ['movie', 'series'],
    catalogs: [
        {
            type: 'movie',
            id: 'my-addon-movies',
            extra: [
                {
                    name: 'genre',
                    options: [
                        'Movies',
                    ],
                    isRequired: false,
                },
            ],
        }
        ],
    idPrefixes: ['my-addon'],
    idProperty: ['imdb_id'],
}

Sample meta response from catalog handler

const metas = [{
      id: 'my-addon:eyJtYWduZXRMaW5rIjoibWFnbmV0Oj94dD11cm46YnRpaDpiZjM5YmIyNjczZWViMTUxMjllNGJkYWM1NjhkZjg0NGQ0NWNjYmQxIiwicGFyc2VkTmFtZSI6IlRoZS5VbWJyZWxsYS5BY2FkZW15LlMwNC5DT01QTEVURS43MjBwLk5GLldFQlJpcC54MjY0LUdhbGF4eVRWIiwic2l6ZSI6IjE3MTUzMDQ0MTkiLCJzZWVkZXJzIjoiMTA4NyIsImxlZWNoZXJzIjoiODc2IiwicG9zdGVyIjoiaHR0cHM6Ly9pbWFnZXMubWV0YWh1Yi5zcGFjZS9wb3N0ZXIvbGFyZ2UvdHQxMzEyMTcxL2ltZyIsImlzVmFsaWRJbWRiSWQiOmZhbHNlLCJleHRyYSI6eyJ0eXBlIjoibW92aWUiLCJpZCI6InRwYmN0bGctbW92aWVzIiwiZXh0cmEiOnsiZ2VucmUiOiJNb3ZpZXMuanNvIn0sImNvbmZpZyI6e319LCJpbmZvSGFzaCI6ImJmMzliYjI2NzNlZWIxNTEyOWU0YmRhYzU2OGRmODQ0ZDQ1Y2NiZDEifQ==',
      type: 'movie',
      name: 'The.Umbrella.Academy.S04.COMPLETE.720p.NF.WEBRip.x264-GalaxyTV  ',
      poster: 'https://images.metahub.space/poster/large/tt1312171/img',
      description: 'A description'
    }];
return Promise.resolve({metas});

If I change the type to series then the stream handler triggers properly.

Also, the genre in the catalog handler is getting these extra characters .jso in the Linux app.

catalogHandler {
  type: 'movie',
  id: 'my-addon-movies',
  extra: [Object: null prototype] { genre: 'Movies.jso' },
  config: {}
}

Both issues do not happen on the web app.

@dexter21767-dev
Copy link
Member

can u provide the stream handler?

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