[mythtv-users] Second mythbackend process on slave backend

Michael T. Dean mtdean at thirdcontact.com
Tue Mar 25 14:48:45 UTC 2008


On 03/25/2008 06:31 AM, John Veness wrote:
> Chris Pinkham wrote:
>   
>> MythTV 0.21 fires off another
>> instance of mythbackend to generate the preview pixmap for a recording.
>> This new copy doesn't run the scheduler or talk to tuners or anything
>> like that, it just runs the preview generator code.
>>     
> Out of interest, any particular reason you didn't make a new binary - 
> mythprevgen or something - for this? Up until now multiple mythbackend 
> processes on one machine is an error condition, and so people with 
> monitoring scripts would need to modify them.

AIUI, moving from mythbackend generating previews to mythbackend
generating previews in a separate process was hard.  Moving all the code
from mythbackend that's involved in generating previews to a whole new
binary /and/ making it work well in mythbackend and mythfrontend and
everywhere else it's used was so much harder that it wasn't (yet) worth
the effort.

I can pretty much guarantee that the total amount of time people will
spend fixing their monitoring scripts (even when duplicating work) is
significantly less than the time it would take to rearrange things
"properly."

Mike


More information about the mythtv-users mailing list