Disable Idle Timer While Reading Disks

Everything related to MakeMKV
Post Reply
nickbits
Posts: 6
Joined: Tue Feb 05, 2013 11:33 pm

Disable Idle Timer While Reading Disks

Post by nickbits »

It would be great if you put:
SetThreadExecutionState(ES_SYSTEM_REQUIRED);
In your read loop.

Thanks!

--nick
mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Disable Idle Timer While Reading Disks

Post by mike admin »

It does that already, as GUI is open-source you can download the source and check for yourself :)
/download/makemkv-oss-1.7.10.tar.gz
nickbits
Posts: 6
Joined: Tue Feb 05, 2013 11:33 pm

Re: Disable Idle Timer While Reading Disks

Post by nickbits »

Hmm... I swear my computer is going to sleep during a read and when I wake it up it would continue reading.

It is possible it enters sleep mode during a retry sequence? I didn't follow the source close enough to see if it calls notifyUpdate during retires. I have my retires set really high and it can take a long time and I think the last time I remember that happening the disk was bad.
mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Disable Idle Timer While Reading Disks

Post by mike admin »

nickbits wrote:I have my retires set really high and it can take a long time and I think the last time I remember that happening the disk was bad.
You are probably right. Bug noted.
Post Reply