Hi _BJ1
First of all, many thanks for this plugin! It fills a gap in the standard XBMC features.
I know this thread is now rather old, but I hope you are still subscribed...
The script runs OK, but the shutdown command does not do anything.
My system is OpenELEC, running on an Arctic MC001. I have installed the script and made sure that the credentials for accessing TvHeadend are correct. I initially tried to follow the instructions in the README, but I was unable to chown the script (error message: unknown user xbmc), though I was able to make the script executable. The owner of the script is root.
Also, I was unable to run visudo (error message: command not found), so I could not insert the "Cmnd_Alias PVR_CMDS = ... " line. I'm not sure whether it is simply that OpenELEC does not include visudo by default, or something more complicated. A search for sudoers turned up no results. I tried a creating a sudoers file in /etc, but received a "Read-only file system" error.
I suspect that the problem is something to do with the permissions, but because of the way OpenELEC is structured, the add-on probably needs a slightly different setup. (As you may already suspect, I am a long way from being a Linux guru!)
Here's the most recent log contents:
Code:
12.03.2013 12:51:57: PVR Manager: No current recording(s).
12.03.2013 12:51:57: PVR Manager: Next recording in 146 minutes.
12.03.2013 12:51:57: PVR Manager: No PIDFile found, system powered on first time.
12.03.2013 12:51:57: PVR Manager: Service finished but will be possibly restarted.
12.03.2013 12:51:57: PVR Manager: ------------------------------------------------
12.03.2013 12:51:59: PVR Manager: No current recording(s).
12.03.2013 12:51:59: PVR Manager: Next recording in 146 minutes.
12.03.2013 12:51:59: PVR Manager: EPG-Update interval is set to 2 days.
12.03.2013 12:51:59: PVR Manager: Wakeup for Recording by ACPI at 12.03.2013 15:15:59 (UNIX-Time: 1363101359).
12.03.2013 12:52:04: PVR Manager: Instruct the system to shut down.
12.03.2013 12:52:04: PVR Manager: Service finished but will be possibly restarted.
12.03.2013 12:52:04: PVR Manager: ------------------------------------------------
The Wakeup time shown in the log is correct: a recording is due at 15:20.