Forum

Full Version: Official way to stop and restart kodi without reboot?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi,

I am currently wondering, if there is an "official" way to stop and restart kodi without having to reboot. The reason why I am doing this is because CEC still gives me a headache and I usually use "kill -s HUP <some kodi pid>" to let it automatically restart itself. However I just had the problem for the second time today that kodi would hang in a loop trying to restart itself and obviously

sudo -u xbian -g xbian -s /usr/local/lib/kodi/kodi.bin --standalone -fs --lircdev /run/lirc/lircd

does not work 100% when run from a remote terminal. So is there ANY way to dot it?

Thanks in advance!
Code:
service xbmc stop
service xbmc start
Seems pretty obvious Smile
(4th Jun, 2015 12:24 AM)CurlyMo Wrote: [ -> ]
Code:
service xbmc stop
service xbmc start
Seems pretty obvious Smile

Oh my, please gimme a bullet ;-) Thanks!

(4th Jun, 2015 12:24 AM)CurlyMo Wrote: [ -> ]
Code:
service xbmc stop
service xbmc start
Seems pretty obvious Smile

Doing a service start results in the same restart-loop unfortunately :-( There seems to be nothing useful in the kodi logfile though ...

Any hints what I could look for to see what is causing that? I hate to restart when my transmission is just running that good ;-)
Sounds like you have other major issues as stopping and starting XBMC/Kodi should work without trouble.
Have you tried another power source for you Pi ?
You could also up the log level to debug in:
XBMC/Kodi --> Settings --> System --> Debugging
Yeah, thanks but no the power is good since months. And switching on debug level is hard when Kodi shows up for at best some milliseconds ;-) Where can it be switched on WITHOUT GUI (where is the setting stored)?
Well, I am not sure if the warning and the error in the kodi.log has anything in common with the repeating restarts, but they are at the moment the only possible causes I can see, so here it is:

Read the forum rules

Now XBian does the restart-loop just after a fresh reboot :-(
(4th Jun, 2015 12:24 AM)CurlyMo Wrote: [ -> ]
Code:
service xbmc stop
service xbmc start
Seems pretty obvious Smile

Not working:

Terminal
$ service kodi stop
-bash: service: command not found

Neither this:
Terminal
$ systemctl stop kodi
Failed to get D-Bus connection: Unknown error -1
Try.....
Terminal

sudo service xbmc stop
sudo service xbmc start

Things are not always what you would expect them to be! Smile
(17th Apr, 2016 08:08 PM)Skywatch Wrote: [ -> ]Try.....
Terminal

sudo service xbmc stop
sudo service xbmc start

Things are not always what you would expect them to be! Smile

True.....

Thanks Blush
No Problem! Smile
Once again Dodgy

Xbian uses Upstart so, correct commands are:

Terminal

sudo stop xbmc

sudo start xbmc


@Skywatch
Seems you have forgotten this again Tongue
So I assume, one day it will be:

Terminal
sudo stop kodi

sudo start kodi
or will a link be provided so both work?
I asked this a while back Iridium and was informed it will remain as xbmc.

Seems to go against the times and will confuse noobs who never knew what xbmc was and only want the new kodi....
Old-school rules
XD
Pages: 1 2
Reference URL's