Kodi Community Forum
Addon Configuration Command Line - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Addon Configuration Command Line (/showthread.php?tid=366347)



Addon Configuration Command Line - worjef - 2022-01-05

I'm trying to setup a shortcut on my homes screen to the configure option of my emby-next-gen addon.  I know how to create the shortcut, but I need help with the command line to configure.

The command below will launch the addon, but I want the command to configure the addon.
ActivateWindow(Videos,"plugin://plugin.video.emby-next-gen",return)


RE: Addon Configuration Command Line - scott967 - 2022-01-05

Taking a quick look at that addon's plugin launch point, events.py, it looks like it gets a standard sys.argv list from Kodi, so try something like
Code:
ActivateWindow(Videos,"plugin://plugin.video.emby-next-gen?param1=AAA&param2=BBB",return)
 Look in events.py for valid parameters https://github.com/MediaBrowser/plugin.video.emby/blob/next-gen/events.py. Might be better to follow up at emby's support site.

scott s.
.