[LINUX HOW-TO] Usefull terminal commands !
#16
Run this command below to send a message to the main screen of KODI.

Code:
curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"GUI.ShowNotification","params":{"title":"MY COOL TITLE","message":"HELLO WORLD"},"id":1}' http://127.0.0.1:8080/jsonrpc
Reply
#17
(2011-06-26, 23:04)The-Boxhead Wrote: In this section i will add usefull tips & tricks to make your xbmc life a little easier:

Tip1: (thanks to forum user MacUsers !)
Create a auto restart command for xbmc:

First of all make sure you have proper rights to perform the command:
Code:
sudo su
Then create a xbmc-restart command:
Code:
printf '#!/bin/bash\nkill -9 `pidof xbmc.bin`' > /usr/local/bin/xbmc-restart
Make it executable:
Code:
chmod +x /usr/local/bin/xbmc-restart

Sorry, I don't understand, doesn't systemctl restart kodi. Restart?
Reply
#18
systemctl does restart kodi on libreelec/openelec. On other linux systems I don't know.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply

Logout Mark Read Team Forum Stats Members Help
[LINUX HOW-TO] Usefull terminal commands !0