fix: support stream resolving without config
This commit is contained in:
parent
3e964f28ff
commit
17da20f6d0
3 changed files with 3 additions and 2 deletions
|
|
@ -18,6 +18,7 @@ export class StreamController {
|
|||
this.sources = sources;
|
||||
this.streamResolver = streams;
|
||||
|
||||
this.router.get('/stream/:type/:id.json', this.getStream.bind(this));
|
||||
this.router.get('/:config/stream/:type/:id.json', this.getStream.bind(this));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ exports[`buildManifest default manifest 1`] = `
|
|||
{
|
||||
"behaviorHints": {
|
||||
"configurable": true,
|
||||
"configurationRequired": true,
|
||||
"configurationRequired": false,
|
||||
"p2p": false,
|
||||
},
|
||||
"catalogs": [],
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ export const buildManifest = (sources: Source[], extractors: Extractor[], config
|
|||
behaviorHints: {
|
||||
p2p: false,
|
||||
configurable: true,
|
||||
configurationRequired: Object.keys(config).length === 0,
|
||||
configurationRequired: false,
|
||||
},
|
||||
config: [],
|
||||
stremioAddonsConfig: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue