Thank you for your donation


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Official way to stop and restart kodi without reboot?
3rd Jun, 2015, 11:52 PM
Post: #1
Official way to stop and restart kodi without reboot?
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!
Visit this user's website Find all posts by this user
Quote this message in a reply
4th Jun, 2015, 12:24 AM
Post: #2
RE: Official way to stop and restart kodi without reboot?
Code:
service xbmc stop
service xbmc start
Seems pretty obvious Smile

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
4th Jun, 2015, 02:27 AM
Post: #3
RE: Official way to stop and restart kodi without reboot?
(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 ;-)
Visit this user's website Find all posts by this user
Quote this message in a reply
4th Jun, 2015, 07:35 AM
Post: #4
RE: Official way to stop and restart kodi without reboot?
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

There are only 10 types of people in the world: those who understand binary, and those who don't
Find all posts by this user
Quote this message in a reply
4th Jun, 2015, 06:45 PM
Post: #5
RE: Official way to stop and restart kodi without reboot?
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)?
Visit this user's website Find all posts by this user
Quote this message in a reply
4th Jun, 2015, 08:22 PM
Post: #6
RE: Official way to stop and restart kodi without reboot?
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

Visit this user's website Find all posts by this user
Quote this message in a reply
5th Jun, 2015, 09:31 PM
Post: #7
RE: Official way to stop and restart kodi without reboot?
Now XBian does the restart-loop just after a fresh reboot :-(
Visit this user's website Find all posts by this user
Quote this message in a reply
17th Apr, 2016, 07:55 PM
Post: #8
RE: Official way to stop and restart kodi without 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
Find all posts by this user
Quote this message in a reply
17th Apr, 2016, 08:08 PM
Post: #9
RE: Official way to stop and restart kodi without reboot?
Try.....
Terminal

sudo service xbmc stop
sudo service xbmc start

Things are not always what you would expect them to be! Smile
Find all posts by this user
Quote this message in a reply
17th Apr, 2016, 08:11 PM
Post: #10
RE: Official way to stop and restart kodi without reboot?
(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
Find all posts by this user
Quote this message in a reply
17th Apr, 2016, 08:35 PM
Post: #11
RE: Official way to stop and restart kodi without reboot?
No Problem! Smile
Find all posts by this user
Quote this message in a reply
17th Apr, 2016, 10:57 PM
Post: #12
RE: Official way to stop and restart kodi without reboot?
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
Find all posts by this user
Quote this message in a reply
18th Apr, 2016, 04:59 AM
Post: #13
RE: Official way to stop and restart kodi without reboot?
So I assume, one day it will be:

Terminal
sudo stop kodi

sudo start kodi
or will a link be provided so both work?

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
18th Apr, 2016, 06:43 AM
Post: #14
RE: Official way to stop and restart kodi without reboot?
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....
Find all posts by this user
Quote this message in a reply
18th Apr, 2016, 06:56 AM
Post: #15
RE: Official way to stop and restart kodi without reboot?
Old-school rules
XD
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: