2017-09-01, 23:06
Ideally the workflow would be.
I'd send an HTTP API call to Kodi along the lines of
http://localhost/jsonrpc?request={"jsonrpc": "2.0","method": "Addons.ExecuteAddon","params": {"wait": false,"addonid": "service.banners","params":"image":"/storage/Pictures/img.jpg","displaytime":"20000"]},"id": 2}
from the webapp, which would display a picture already stored in /storage/Pictures/, for 20 seconds.
but the storage location could just as easily be smb://server/share/img.jpg
I'd send an HTTP API call to Kodi along the lines of
http://localhost/jsonrpc?request={"jsonrpc": "2.0","method": "Addons.ExecuteAddon","params": {"wait": false,"addonid": "service.banners","params":"image":"/storage/Pictures/img.jpg","displaytime":"20000"]},"id": 2}
from the webapp, which would display a picture already stored in /storage/Pictures/, for 20 seconds.
but the storage location could just as easily be smb://server/share/img.jpg