[mythtv-users] Before I tear my hair out can a slave BE...
gull at gull.us
Thu Feb 5 23:22:26 UTC 2009
Chris Pinkham wrote:
> * On Wed Feb 04, 2009 at 10:57:51PM -0800, David Brodbeck wrote:
>> When I was running a slave backend, I did it with a Perl script that
>> parsed the output of mythbackend --printsched and powered up the slave
>> via WOL when it saw an upcoming conflict. A matching script on the
>> slave powered it down when it was idle and there were no upcoming
>> recording jobs for it.
> My patch allows the scheduler to take into account slaves that have
> been put to sleep so that it doesn't have to even generate conflicts.
> If the slave doesn't wake up in time for whatever reason, the backend
> will reschedule to work around the issue the best it can.
That's very cool, and clearly the right way to do it. My script was
just a stopgap, and I knew it was a horrible kludge when I wrote it. ;)
More information about the mythtv-users