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

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Tue Dec 5 13:46:55 UTC 2006


      Author: paulh
        Date: 2006-12-05 13:46:55 +0000 (Tue, 05 Dec 2006)
New Revision: 12202
   Changeset: http://cvs.mythtv.org/trac/changeset/12202

Modified:

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

Log:

Change how mythburn.py detects whether a file is on a remote filesystem.

The current method of parsing the output of the mount command is a little
fragile and falls over when a mount has a space in the name. It would be
better to use statfs to determine if a file is on a remote fs except that
python doesn't seem to have an equivalent of the 'c' statfs function.

This commit just adds a new function to mytharchivehelper that the script can
call to do the check.

Fixes #2715.




More information about the mythtv-commits mailing list