[mythtv] Patch to DO deletion when file doesn't exit

Derek Atkins warlord at MIT.EDU
Thu Feb 17 14:31:01 UTC 2005


"Chris Pinkham" <cpinkham at bc2va.org> writes:

> I think that's what he said. :)  The filesize in the DB is incremented
> during recordings so anything with a 0 could safely be deleted.

I didn't actually mean "file size in the DB is 0".  I meant "stat()"
returns filesize of 0 (as opposed to file not found).

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the mythtv-dev mailing list