PDA

View Full Version : What happens if I start watching a show while it is auto-transcoding?


ubnewbie2
January 28th, 2008, 06:58 PM
It occurred to me last night. A show had just finished recording and I was going to watch it, then I wondered what would happen if the auto-transcoding finished while I was watching. I was concerned because the transcode deletes the first file when it completes.

Either the player would crash, or the file would fail to be deleted. In the latter case, transcode would not be able to complete properly. What does it do in that situation - does it leave large temporary files scattered about?

So, should I avoid watching shows that have just finished recording?

BobLobLaw
January 29th, 2008, 08:58 PM
This has happened to me before, It just kicks you out of the program you are watching. By the time you re-start the show, the file rename/delete has occured.

stdPikachu
January 29th, 2008, 09:52 PM
Is this true? (Not tried it myself, rarely transcode anything)

UNIX file locking says that if the file doesn't actually get deleted until every process using it has released its handles on it (only the inode pointing at that chunk of data is deleted); you can typically play an MP3 or a video even if you deleted it halfway through. Does Myth break this logic?