BUG: Keep 3 Episodes kills video during playback

I have Channels set to record Jeopardy everyday, but save only 3 episodes. Today while we were watching the oldest episode, the current episode finished recording and when we tried to skip a commercial and finishing playing the oldest episode, it disappeared and we were unable to complete watching it.

As you can see from the log, the old file (1/31 episode) got pruned at 7:49 pm which was before we finished watching the end of it. This is a very interesting problem. Please let me know if you have any questions about it.

Thanks!

2017/02/06 19:30:00 [DVR] Starting job 1486438200-30 Jeopardy! on ch=[39.1]
2017/02/06 19:30:00 [DVR] Waiting 29m59.933331s until next job 1486440000-31
2017/02/06 19:30:00 [DVR] Recording for job 1486438200-30 from    1043A577 ch39.1 into "TV/Jeopardy!/2017-02-06-1930 Jeopardy! 2017-02-06   S33E106.mpg" for 29m59.933032s
2017/02/06 19:30:00 [DVR] Finished job 1486436400-29 Wheel of Fortune
2017/02/06 19:30:00 [DVR] Waiting 29m59.676449147s until next job 1486440000-31
2017/02/06 19:30:00 [DVR] Processing file-86: TV/Wheel of Fortune/2017-02-06-1900 Wheel of Fortune 2017-02-06 S34E106 Big Money.mpg
2017/02/06 19:30:00 [DVR] Running commercial detection on file 86 (TV/Wheel of Fortune/2017-02-06-1900 Wheel of Fortune 2017-02-06 S34E106 Big Money.mpg)
2017/02/06 19:32:26 [DVR] Commercial detection finished with 12 markers.
2017/02/06 19:49:49 [DVR] Pruning old recording 2017-01-31-1930 Jeopardy! 2017-01-31 S33E102.mpg
2017/02/06 19:49:49 [DVR] Deleting /Users/mediacenter/Channels/TV/Jeopardy!/2017-01-31-1930 Jeopardy! 2017-01-31 S33E102.mpg
2017/02/06 20:00:00 [DVR] Deleting expired job 1486438200-30
2017/02/06 20:00:00 [DVR] Starting job 1486440000-31 24: Legacy on ch=[69.1]
2017/02/06 20:00:00 [DVR] Waiting 1h0m59.931540415s until next job 1486443660-32
2017/02/06 20:00:00 [DVR] Finished job 1486438200-30 Jeopardy!
2017/02/06 20:00:00 [DVR] Waiting 1h0m59.681745703s until next job 1486443660-32
2017/02/06 20:00:00 [DVR] Processing file-87: TV/Jeopardy!/2017-02-06-1930 Jeopardy! 2017-02-06 S33E106.mpg

This bug has been fixed in the latest version. The DVR will keep track of recordings which are in-use and avoid pruning them.