running an addon from CLI (ssh)

  • Hi,


    This could probably be simple but I just don't know it and didn't find anything relevant on forums.

    Is there any way to use an add-on (that works just fine from the GUI) from the CLI?

    I am talking about advanced wol addon, that I can see is installed in the /.kodi/addons/script.advanced.wol folder.

    I would like to be able to run a command that is waking up a device in the same LAN.

    LibreELEC:~/.kodi/addons/script.advanced.wol # ls -la

    total 104

    drwxr-xr-x 3 root root 4096 Sep 16 10:30 .

    drwxr-xr-x 56 root root 4096 Oct 22 12:53 ..

    -rw-r--r-- 1 root root 15216 Sep 16 10:16 LICENSE.txt

    -rw-r--r-- 1 root root 3881 Sep 16 10:16 addon.xml

    -rw-r--r-- 1 root root 1104 Sep 16 10:16 autostart.py

    -rw-r--r-- 1 root root 2319 Sep 16 10:16 changelog.txt

    -rw-r--r-- 1 root root 7465 Sep 16 10:16 default.py

    -rw-r--r-- 1 root root 39614 Sep 16 10:16 icon.png

    -rw-r--r-- 1 root root 7137 Sep 16 10:16 ping.py

    -rw-r--r-- 1 root root 6673 Sep 16 10:30 ping.pyo

    drwxr-xr-x 4 root root 4096 Sep 16 10:16 resources


    Any thoughts on how to solve this appreciated.

    Alternatively, if this add-on is not meant to be used from cli, is there another way for me to accomplish this task (like a well-known script that does WoL)?