jasonjmcghee / rem

An open source approach to locally record and enable searching everything you view on your Mac.
https://rem.ing
MIT License
2.18k stars 60 forks source link

[rem-19]: Fix not continuing to record after sleep/wake #68

Closed jasonjmcghee closed 5 months ago

jasonjmcghee commented 5 months ago

This fixes #19 by listening for the sleep and wake notifications and "pauses" recording.

This also redefines what "pausing" the recording means to... actually pause the recording.

Before it meant, say we're "paused" but actually stop recording and render the video.

Also fixes how timeline and search pause to stop and start (as they were before) but with better naming.


Also adds a do/catch around screenshot in case it fails so it will try again in 2 seconds.