[mythtv] [mythtv-commits] Ticket #5985: Use QProcess in MythArchive to monitor process (main.cpp)?

Stuart Morgan stuart at tase.co.uk
Sun Dec 7 09:55:47 UTC 2008


On Sunday 07 December 2008 09:29:20 MythTV wrote:
> #5985: Use QProcess in MythArchive to monitor process (main.cpp)?
<snip>
>  That's not really possible because the script is started in the background
>  and just left to run even if MythArchive or the FE isn't running. I know a
>  few people just run the script manually without using MythArchive at all.

Maybe turn the script into an mtd like process, or wrap the script with one? 
That way it can be run with QProcess and progress can also monitored or 
stopped even if the frontend is restarted. I've not really used MythArchive, 
so these things might already be possible, but an archive daemon also brings 
up the possibility of creating an archive jobqueue, scheduling a batch of jobs 
and then having them progress even after the frontend is exited.
-- 
Stuart Morgan


More information about the mythtv-dev mailing list