v18 How to fetch return results of a different AddOn when calling RunPlugin
#1
Basically, i want to get a directory listing with search results from a foreign AddOn eg. Amazon VOD or Netflix or any media libary addon.

Code Called: xbmc.executebuiltin("RunPlugin(plugin://plugin.video.netflix/?action=search_result&term=kill+bill)")

Output
13:01:27.350 T:2188 DEBUG: "start netflix search"
13:01:27.350 T:2188 DEBUG: "end netflix search"
13:01:27.362 T:4668 DEBUG: XFILE::CPluginDirectory::RunScriptWithParams - calling plugin Netflix('plugin://plugin.video.netflix/','-1','?action=search_result&term=kill+bill','resume:false')
13:01:27.362 T:6100 DEBUG: Thread LanguageInvoker start, auto delete: false
13:01:27.828 T:6100 DEBUG: CAddonSettings[plugin.video.netflix]: loading setting definitions
13:01:27.828 T:6100 DEBUG: CAddonSettings[plugin.video.netflix]: trying to load setting definitions from old format...
13:01:27.828 T:6100 DEBUG: CAddonSettings[plugin.video.netflix]: loading setting values
13:01:27.829 T:6100 DEBUG: CSettingsManager: requested setting (logging) was not found.
13:01:27.834 T:6100 DEBUG: [Netflix] Started (Version 0.13.21)
13:01:27.834 T:6100 DEBUG: [Netflix] "Navigation::router" called with arguments :paramstring = action=search_result&term=kill+bill:
13:01:27.834 T:6100 DEBUG: [Netflix] "Navigation::before_routing_action" called with arguments :params = {'action': 'search_result', 'term': 'kill bill'}:
13:01:27.844 T:1700 DEBUG: [Netflix] Loading cookies from memory
13:01:27.845 T:1700 DEBUG: [Netflix] Cookie expires: 1550581050 / 1550577687
13:01:27.865 T:6100 DEBUG: [Netflix] "Navigation::before_routing_action" returned: {}
13:01:27.865 T:6100 DEBUG: [Netflix] "Navigation:Confusedhow_search_results" called


https://kodi.wiki/view/List_of_built-in_functions
RunPlugin(plugin)Runs the plugin. Full path must be specified. Does not work for folder plugins

--> i assume this means, this function will not suit my needs, or does it?

A similar issue was described here: https://forum.kodi.tv/showthread.php?tid=328392
However, it was not about calling a "foreign' addon.


I am not sure if this is a matter of sy handle, while i partiallly understand syshandles, i wouldnt know how to read back the retrun values.
https://www.desinerd.co.in/kodi-addon-de...uild-menu/
Reply
#2
Thread moved to add-on development
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#3
I don't think its possible, someone already said on similar thread that the results is a custom made window.
With foreign you are unable to pass it without modification of original addon/plugin/script, but when you do then its not foreign anymore.
The fastest way to make it is reuse the foreign part of searching and implement it into your addon.

As documentation describe: xbmc.executebuiltin, its just for running/executing things => run, wait, close
Reply
#4
i thought so. thx for feedback.
Reply

Logout Mark Read Team Forum Stats Members Help
How to fetch return results of a different AddOn when calling RunPlugin0