2016-03-26, 18:23
Hi all,
do you know spacecmd?
It's an interactive commandline shell with tab-completition to manage spacewalk servers. It's a really cool tool, so I thought of creating something similar for kodi.
So I checked out the spacecmd source and startet to remove everything spacewalk related and tried out if it would be possible to modify the tool to work with kodi.
Now it runs in a very basic manner, a few commands to test I have also integrated.
I think this tool could have potential to get the "remote-manage solution" for kodi, but after there are so lot api commands worth be implemented, I think I will still implement functions in one year, so I thought I ask here if there are other coders interested to push such a " Swiss Army knife" for kodi and send me pullrequests.
The current Testversion is here:
GitHub
Here an example:
Regards Tobias
do you know spacecmd?
It's an interactive commandline shell with tab-completition to manage spacewalk servers. It's a really cool tool, so I thought of creating something similar for kodi.
So I checked out the spacecmd source and startet to remove everything spacewalk related and tried out if it would be possible to modify the tool to work with kodi.
Now it runs in a very basic manner, a few commands to test I have also integrated.
I think this tool could have potential to get the "remote-manage solution" for kodi, but after there are so lot api commands worth be implemented, I think I will still implement functions in one year, so I thought I ask here if there are other coders interested to push such a " Swiss Army knife" for kodi and send me pullrequests.
The current Testversion is here:
GitHub
Here an example:
Code:
$ ./kodicmd
Welcome to kodicmd, a command-line interface to kodi.
Type: 'help' for a list of commands
'help <cmd>' for command-specific help
'quit' to quit
kodicmd> help
Documented commands (type help <topic>):
========================================
clear player_getactiveplayer system_getplatform system_setvolume
help player_playpause system_getversion toggle_confirmations
history player_stop system_getvolume whoamitalkingto
movie_details system_connect system_ismuted
movie_list system_getbuild system_mutetoggle
movie_play system_getkernel system_quit
kodicmd> system_connect 192.168.0.40 80
Set 192.168.0.40 as request target with port 80
kodicmd> system_getvolume
20
kodicmd> system_setvolume 77
kodicmd> system_getvolume
77
kodicmd> system_getplatform
RaspberryPi
kodicmd>
Regards Tobias