Sam-Max / plugin.video.jacktook

A Kodi addon for torrent finding and streaming
GNU General Public License v3.0
27 stars 5 forks source link

[RESQUEST] External search paths #32

Open Nervulox opened 3 months ago

Nervulox commented 3 months ago

Hi, could you provide endpoint search paths to implement Jacktook searches into other addons/skins? In Arctic Horizon 2 and Arctic Fuse (Dont know about other skins) you can change the action of the search bar to directly use addons search (For example to search directly in the netflix addon you set "plugin://plugin.video.netflix/directory/search/search/?query=")

It would be really nice to have this option available, i already tried using the string that appears in the logs when i search but it doesnt seem to be the one, could you provide one?

Sam-Max commented 3 months ago

Hi, could you provide endpoint search paths to implement Jacktook searches into other addons/skins? In Arctic Horizon 2 and Arctic Fuse (Dont know about other skins) you can change the action of the search bar to directly use addons search (For example to search directly in the netflix addon you set "plugin://plugin.video.netflix/directory/search/search/?query=")

It would be really nice to have this option available, i already tried using the string that appears in the logs when i search but it doesnt seem to be the one, could you provide one?

I added search integration with TMDB helper: https://github.com/Sam-Max/plugin.video.jacktook/blob/main/jacktook.select.json, maybe that could help you

Nervulox commented 2 months ago

The problem with that paths are that you have to previously specify if looking for a movie or an episode and then provide a lot of info. Guess i could use TMDB as middleman, search throu TMDB, get what im looking for and "parse" them to jacktook... Also im sorry but what am i supposed to do with that json to integrate into TMDB?

Sam-Max commented 2 months ago

The problem with that paths are that you have to previously specify if looking for a movie or an episode and then provide a lot of info. Guess i could use TMDB as middleman, search throu TMDB, get what im looking for and "parse" them to jacktook... Also im sorry but what am i supposed to do with that json to integrate into TMDB?

You need to import that json file in tmdb helper addon settings.

Nervulox commented 2 months ago

I added it and works fine for movies, but its struggling with shows, a show i know jacktook finds the episodes (Ive seen the first 2 using the addon directly) wont find them when parsing the TMDB query into jacktook, the show is "La mesías", maybe it has a problem with "í" i dont really know. In the logs the query looks like

2024-04-10 17:09:26.390 T:19523 info <general>: [plugin.video.themoviedb.helper] lib.player - executing action: ActivateWindow(videos,plugin://plugin.video.jacktook/search?mode=tv&query=La mesías&ids=201420%2C%20423565%2C%20tt20096840&tv_data=Resurrección%28%5E%292%28%5E%291,return)

Again, searching from jacktook directly and going into that episode will work without problem and find a few sources to stream