Project

General

Profile

start PC when scheduled recording

Added by johan degreef almost 13 years ago

Could it be possible to include the functionallity in future releases of TVHeadend that when a scheduled recording is programmed - and the PC is turnded off - the PC is started 5 minutes before the programmed show?

thx, Johan


Replies (7)

RE: start PC when scheduled recording - Added by Mike Freeman almost 13 years ago

I don't think that's possible, because when a PC is turned off, it isn't running any software, therefore software can't trigger it to turn back on. I know this takes some electricity, but I generally just leave my media PC on all the time. Could that be an option for you?

RE: start PC when scheduled recording - Added by Eric Valette almost 13 years ago

This is completely false at least on PC, most mobile and so on. see <http://www.mythtv.org/wiki/ACPI_Wakeup&gt;. However, in my view a wakeup service should be a generic service that tvheadend should use but that other program may use (e.g batch transfert, ...).

RE: start PC when scheduled recording - Added by B. J. almost 13 years ago

If you use XBMC/TVHeadend you'll find a plugin for XBMC here (http://forum.xbmc.org/showthread.php?t=115758), that I've written. This plugin makes sense on a dedicated HTPC only, not on workstations that may have other tasks in general.

RE: start PC when scheduled recording - Added by johan degreef almost 13 years ago

I have TVheadend running on my QNAP nas. The QNAP can start/stop according to a power-schedule, so technically speaken, it can wake up from a shutted-down state. But i think TV headend must start/send the signal.

RE: start PC when scheduled recording - Added by B. J. almost 13 years ago

Eric Valette - wrote:
However, in my view a wakeup service should be a generic service that tvheadend should use but that other program may use (e.g batch transfert, ...).

The service is already there and is called S3, S4, ACPI, NVRAM, WakeOnLAN... The use of this service is depending from the application that the service is calling. This should be TVHeadend in a headless environment (i.e. TV-Server) or even XBMC/MythTV-Server/VDR-Plain when the're used as frontend in a Home-environment (HTPC). As a developer of a system you have to decided what backend is most powerfull to control the entire system - and thats the point of view. BTW, calling this above wakeup-mechanisms is very simple.

RE: start PC when scheduled recording - Added by Eric Valette almost 13 years ago

You do not know when you need to wakeup when you have no centralization. If there is already a progammed wakeup that is sooner than the next recording, each application will need to handle the logic.

RE: start PC when scheduled recording - Added by Alex . almost 13 years ago

Eric Valette - wrote:

at least on PC, most mobile and so on. see <http://www.mythtv.org/wiki/ACPI_Wakeup&gt;. However, in my view a wakeup service should be a generic service that tvheadend should use but that other program may use (e.g batch transfert, ...).

Indeed, a similar thing can be used here;

To do this you would need to write some script that analyses the times of the recording, and sets the ACPI wakeup to that value ( minus 5 minutes). This script can then be executed at shutdown or sleep.
(The scheduled recordings are in: tvheadend/home/.hts/tvheadend/dvr )
Note that this works similar to Wake-on-Lan, and will only work if the system had a shutdown nicely, and had power on the system all the time.

Alex.

    (1-7/7)