[mythtv-commits] mythtv commits

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sat Jun 19 03:15:04 EDT 2004

Changes committed by cpinkham on Sat Jun 19 07:10:44 2004

Modified Files:
   in mythtv/programs/mythbackend:
        commercialflag.cpp commercialflag.h mainserver.cpp 
Log Message:

    on the master backend when a slave backend goes online/offline.

Added code to CommercialFlagger class to check LOCAL_SLAVE_BACKEND_ONLINE
    events to see if slave coming online is the CommercialSkipHost that
    is designated to run all commercial flagging jobs.  If so, unfinished
    jobs are restarted.  This works whether it's the master or the slave
    that's actually the backend starting up.

Added code to CommercialFlagger class to check LOCAL_SLAVE_BACKEND_OFFLINE
    events when a slave goes down.  If CommercialSkipHost is not used and
    all backends are flagging their own recordings, the master will
    restart any commercial flagging jobs that the slave was working on.
    The jobs are restarted on the master backend.

Fixed bug in CommercialFlagger that could allow it to start up two
    flagging jobs for the same recording if it was told to.  This prevents
    multiple flagging jobs for the same recording from being executed on
    a slave if the master backend is restarted while the slave is flagging
    a recording.


More information about the mythtv-commits mailing list