[mythtv-commits] mythtv commit: r13070 - in trunk/mythplugins/mytharchive by paulh

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sun Mar 18 17:49:15 UTC 2007


      Author: paulh
        Date: 2007-03-18 17:49:15 +0000 (Sun, 18 Mar 2007)
New Revision: 13070
   Changeset: http://cvs.mythtv.org/trac/changeset/13070

Modified:

   trunk/mythplugins/mytharchive/mytharchive/main.cpp
   trunk/mythplugins/mytharchive/mytharchivehelper/main.cpp
   trunk/mythplugins/mytharchive/mythburn/scripts/mythburn.py

Log:

Change how the lock file works in MythArchive to prevent the situation
where a stale lock file is left behind after a system crash.

* Store the PID of the running archive job in the lock file.

* Check the PID is still running before showing the log viewer.

* Warn if a lock file exists but the process that created it is no 
  longer running and delete the stale lock file.

I'll leave it a few weeks and if no problems are found I'll merge this
into the fixes branch.






More information about the mythtv-commits mailing list