You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I trigger Stremio's default search from my custom add-on? I want to pass a title (e.g., a movie or show name) and get the results as if searched directly in Stremio.
I tried deep link with id and extra but it still redirect me to meta page instead of search result page:
builder.defineMetaHandler((args) => {
const { id } = args;
const title = id.split("/").pop().replace(/-/g, " ");
return Promise.resolve({
meta: {
id: `stremio:///search?search=${title}`,
name: title,
description: `Search for "${title}" in Stremio.`,
type: "movie",
links: [
{
name: "Search in Stremio",
category: "search",
url: `stremio:///search?search=${title}`,
},
],
},
});
});
The text was updated successfully, but these errors were encountered:
How can I trigger Stremio's default search from my custom add-on? I want to pass a title (e.g., a movie or show name) and get the results as if searched directly in Stremio.
I tried deep link with id and extra but it still redirect me to meta page instead of search result page:
The text was updated successfully, but these errors were encountered: