2010-12-20, 09:05
Hi there,
I'm looking at migrating from a dedicated 2 machine (myth backend/xbmc frontend) setup, to a single machine (tvheadend/xbmc frontend).
I'm using the xbmcfreak distro, as there appear to be many ion330 specific tweaks that are already applied in this release. It also coems with tvheadend installed.
I've got it all working (on a test USB drive), but my question relates to the ability to pause shutdown of the system when tvheadend is recording a program.
On my current mythtv backend, i utilise mythwelcome, which basically controls the "ontime" of the machine to be "awake" whenever the mythbackend needs to record a program.
To make the tvheadend/xbmc single machine work, i have to have something equivalent to mythwelcome.
Now, I've googled around a fair bit, and nothing much seems to match. Although, i'd be surprised if i was the first to think of this combination.
The closet I have come is
1) changing the selected skin to execute a custom script on shutdown, or
2) shutdown timers
Neither are very elegant for my requirement.
My poorly documented requirements are, something like this
* Will wake to record (using tvheadend). I know enough about ACPI (from mythwelcome) to get this to work.
* If XBMC idle, and no recording now, or recording scheduled, shutdown
* Will not shutdown the system if there is something to record
* Will not shutdown if there is a recording scheduled in the next 10 mins
* Integrates into the XBMC gui (python script, addon?)
I was thinking to start looking at a python addon, but would appreciate any pointers as to where to start.
Cheers,
Nathan
I'm looking at migrating from a dedicated 2 machine (myth backend/xbmc frontend) setup, to a single machine (tvheadend/xbmc frontend).
I'm using the xbmcfreak distro, as there appear to be many ion330 specific tweaks that are already applied in this release. It also coems with tvheadend installed.
I've got it all working (on a test USB drive), but my question relates to the ability to pause shutdown of the system when tvheadend is recording a program.
On my current mythtv backend, i utilise mythwelcome, which basically controls the "ontime" of the machine to be "awake" whenever the mythbackend needs to record a program.
To make the tvheadend/xbmc single machine work, i have to have something equivalent to mythwelcome.
Now, I've googled around a fair bit, and nothing much seems to match. Although, i'd be surprised if i was the first to think of this combination.
The closet I have come is
1) changing the selected skin to execute a custom script on shutdown, or
2) shutdown timers
Neither are very elegant for my requirement.
My poorly documented requirements are, something like this
* Will wake to record (using tvheadend). I know enough about ACPI (from mythwelcome) to get this to work.
* If XBMC idle, and no recording now, or recording scheduled, shutdown
* Will not shutdown the system if there is something to record
* Will not shutdown if there is a recording scheduled in the next 10 mins
* Integrates into the XBMC gui (python script, addon?)
I was thinking to start looking at a python addon, but would appreciate any pointers as to where to start.
Cheers,
Nathan