2011-05-02, 08:56
All,
Thanks to the help I've had here so far I've managed to get my script working (it sets an ACPI alarm based on the next scheduled MythTV recording and then suspends the systems (provided no XBMC player is active, the MythTV backend is idle and there are no active ssh sessions)).
I thought it may be of interest to some other users (can't believe I'm the only one running XBMC as a MythTV frontend on a combined frontend/backend system).
So question 1 is: How do I go about making this available to other users? I've seen people using Google Code to host scripts but, unless I'm being really dumb, I can't see how to upload a folder structure to the site.
Question 2: As I'm using MythTV I need to access the MySQL database. I've done this by copying the MySQLDB module to my script folder. Am I able to include this module in my code?
Many thanks,
el_P
Thanks to the help I've had here so far I've managed to get my script working (it sets an ACPI alarm based on the next scheduled MythTV recording and then suspends the systems (provided no XBMC player is active, the MythTV backend is idle and there are no active ssh sessions)).
I thought it may be of interest to some other users (can't believe I'm the only one running XBMC as a MythTV frontend on a combined frontend/backend system).
So question 1 is: How do I go about making this available to other users? I've seen people using Google Code to host scripts but, unless I'm being really dumb, I can't see how to upload a folder structure to the site.
Question 2: As I'm using MythTV I need to access the MySQL database. I've done this by copying the MySQLDB module to my script folder. Am I able to include this module in my code?
Many thanks,
el_P