Menu

#3 designate tempfile location

open
nobody
None
5
2010-03-20
2010-03-20
Anonymous
No

I have my root filesystem on a smaller partition ~ 15-20 gigs, and separate /home and possibly other data partitions/drives. I had a download fail because it filled up my / filesystem.

After some googling on python tempfile, I got a work around by editing /usr/bin/tivo4tiny and hard coding a directory into lines 303 and 304 like so:
filefetch = tempfile.NamedTemporaryFile('w+b',-1,".mpg","tivo-",dir="/media/space/tmp")
filedecoded = tempfile.NamedTemporaryFile('w+b',-1,".mpg","tivo-",dir="/media/space/tmp")

Being able to designate the tempfile location in the gui would be helpful, and a warning about the size if /tmp doesn't have enough room for the requested show transfer.

Discussion


Log in to post a comment.