team-xbmc team mailing list archive
-
team-xbmc team
-
Mailing list archive
-
Message #00556
Bug#688559: xbmc: reboot, shutdown and restart not implemented
Package: xbmc
Version: 2:11.0~git20120510.82388d5
Severity: normal
Hello
Thanks for packaging XBMC for Debian, and especially for keeping it up to
date. Reboot, shutdown and restart operations terminate XBMC, but nothing
beyond that. Looking at the source code it seems you have look at the exit
code. In xbmc-11.0~git20120510.82388d5/xbmc/XBApplicationEx.h:
// Do not change the numbering, external scripts depend on them
enum {
EXITCODE_QUIT = 0,
EXITCODE_POWERDOWN = 64,
EXITCODE_RESTARTAPP= 65,
EXITCODE_REBOOT = 66,
};
Then I look at /usr/bin/xbmc and return code 65 seems to be handled there,
but it still doesn't restart XBMC.
Regards,
Oskar
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash