Kodi Community Forum
[LINUX] XBMC powermanagement and exit codes? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: [LINUX] XBMC powermanagement and exit codes? (/showthread.php?tid=89540)



[LINUX] XBMC powermanagement and exit codes? - xbmcstarter - 2011-01-04

Hello,

I have some questions on the powermanagement of XBMC (running with ubuntu, permissions are correct, suspend, restart, hibernation and shutdown work).

a) For XBMC the exit codes 0, 64, 65 and 66 are documented. In which cases or user activities XBMC will exit with these codes?
b) Are these exit codes used as a fallback, if the dbus-commands are not available?
c) What happend when the internal commans Quit(), Suspend(), etc. are called? Will XBMC stay up and wait until the system is suspend or XBMC is killed in case of shutdown/restart?

Thanks,

xbmcstarter


- topfs2 - 2011-01-04

a)
64: Powerdown
65: Reboot
66: Restart XBMC
b)
They are always present, might change in the future.
c)
XBMC will exit with these code no matter what the result of dbus is, might change in the future.