Calling built in functions via kodi-send (available at the command line on OSMC) is probably a lot easier than directly using the JSON-RPC interface.
http://kodi.wiki/view/List_of_built-in_functions
For example:
kodi-send -A 'PlayMedia(filename)'
Calling built in functions via kodi-send (available at the command line on OSMC) is probably a lot easier than directly using the JSON-RPC interface.
http://kodi.wiki/view/List_of_built-in_functions
For example:
kodi-send -A 'PlayMedia(filename)'