2011-04-13, 18:29
steppedup Wrote:I'm trying to launch straight into the Search window of this plugin (very nice btw! ).
I can launch it via the ExecBuiltin functions:
ActivateWindow(10025,plugin://plugin.video.youtube/,return)
Which opens up to the default directory:
Then, when I click on Search, this shows up in the debug log:
[plugin://plugin.video.youtube/?path=/root/search/new&action=search&]
Any suggestions on how I can launch to the Search screen via the executive built-in commands? Or HTTP API command? The only thing out of bounds is the JSON API as the program as I'm going through doesn't utilize it:
Thank you either way!
Are you trying to list the users previous searches?
In that case this:
Code:
ActivateWindow(10025,plugin://plugin.video.youtube/?path=/root/search&login=false&store=searches&,return)
In any case try looking at xbmc's log with the debug mode enabled and watch out for the line with:
Code:
18:25:22 T:2960105472 M:2176610304 NOTICE: YouTube-2.0.3 ARGV:
as that line contains the url path the plugin is executing.