Opened 12 years ago

Closed 12 years ago

#4538 closed enhancement (fixed)

mythburn.py could do a better job cleaning up temporary files along the way

Reported by: thrantastic@… Owned by: paulh
Priority: minor Milestone: 0.21
Component: mytharchive Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

mythburn.py could do a better job of deleting intermediate/temporary files as soon as they are not necessary in order to not run out of disk space unnecessarily when space is low. I've attached a patch that cleans up what I've found and adds an option (triggered by editing the script only) to keep temporary files around if needed for debugging. I don't know if you'll want to apply this or not, but I've found it useful so I thought I'd put it out there.

You can probably expect some fuzz since my mythburn.py is not quite up to date with svn head, but I think it should still apply. I don't know if or how this applies to the new ProjectX exporting code since my version is older than that.

Attachments (1)

mythburn-cleanuptempfiles.diff (4.0 KB) - added by thrantastic@… 12 years ago.
Clean up temporary files as soon as possible in mythburn.py to save space

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by thrantastic@…

Clean up temporary files as soon as possible in mythburn.py to save space

comment:1 Changed 12 years ago by paulh

Milestone: unknown0.21
Status: newaccepted

comment:2 Changed 12 years ago by paulh

Resolution: fixed
Status: acceptedclosed

(In [15631]) Remove a few of the larger temp work files created when making a DVD.

Patch by thrantastic (at) gmail.com. Closes #4538.

Note: See TracTickets for help on using tickets.