[Bug?] Plex DVR deleting episodes before I watch them

Upfront info
macOS Sierra 10.12.1
PMS version: 1.2.0.2838 (Beta 3: DVR Hard with a Vengeance)
HDHomeRun Prime firmware version: Latest Stable (20161117/20161119)
Recordings are saved to local storage.

I set Colbert to record last night and noticed this morning it was in the trash. Looking at logs:

Dec 01, 2016 00:37:00.630 [0x70000d3cb000] DEBUG - MediaRecorder: Recording completed with HTTP status 200
Dec 01, 2016 00:37:00.630 [0x70000d3cb000] DEBUG - MediaGrabber: Freed a tuner (now 2 available)
Dec 01, 2016 00:37:00.631 [0x70000d3cb000] DEBUG - Activity: Ended activity 95a27333-7f1d-42ff-b885-08802ff2dd8d.
Dec 01, 2016 00:37:00.631 [0x70000d3cb000] DEBUG - MediaGrabber: Operation for The Late Show With Stephen Colbert - S2 E51 - Lauren Cohan; Sleigh Bells completed with status 3 (Success)

Recording complete! Awesome.

Dec 01, 2016 00:37:02.276 [0x70000d6dd000] DEBUG - MediaSub: Failed to resolve subscription for 'guid: com.gracenote.onconnect://show/10703384 thumb: http://tmsimg.plex.tv/assets/p10767806_b1t_v5_aa.jpg title: The Late Show With Stephen Colbert type: 2 year: 2015' to library item
Dec 01, 2016 00:37:02.307 [0x70000d6dd000] DEBUG - MediaGrabber: Postprocessing, we're going to put `The Late Show With Stephen Colbert - S2 E51 - Lauren Cohan; Sleigh Bells` in `/Users/pj/Movies/DVR/The Late Show With Stephen Colbert (2015)/Season 2` with filename of `The Late Show With Stephen Colbert (2015) - S02E51 - Lauren Cohan; Sleigh Bells`

Not sure what the MediaSub message is, but it looks like the recording was organized properly. A couple of hours later…

Dec 01, 2016 02:03:38.824 [0x70000d4d1000] DEBUG - Garbage Collector: Deleting expired unwatched content for The Late Show with Stephen Colbert (policy: -7 before 2016-11-24)
Dec 01, 2016 02:03:38.825 [0x70000d4d1000] DEBUG - Garbage Collector: Deleting episode 51 - Danny DeVito, Max Greenfield, OK Go (beyond window of 7 days old)
Dec 01, 2016 02:03:39.371 [0x70000d4d1000] DEBUG - Deleting media item 6149.
Dec 01, 2016 02:03:39.373 [0x70000d4d1000] DEBUG - Was connected to metadata item 5349, count is now 0.
Dec 01, 2016 02:03:39.374 [0x70000d4d1000] DEBUG - Destroying metadata item 5349 (Danny DeVito, Max Greenfield, OK Go)
Dec 01, 2016 02:03:39.376 [0x70000d4d1000] DEBUG - Destroying metadata item 5348 (Season 2)
Dec 01, 2016 02:03:39.378 [0x70000d4d1000] DEBUG - Destroying metadata item 5347 (The Late Show with Stephen Colbert)
Dec 01, 2016 02:03:39.426 [0x70000d4d1000] DEBUG - Garbage Collector: Deleting expired watched content for The Late Show with Stephen Colbert (policy: 7)

This is where I get confused. I see 2 things going wrong:

  1. According to theTVDB, the file was named correctly (S02E51 is Lauren Cohan) initially, but later is matched to S02E50 (Danny DeVito). This causes it to be considered 8 days old (as of Dec-01).
  2. If my policy were to delete unwatched episodes >7 days old, then that would make sense, but that’s not the case. My policy is actually to never delete unwatched episodes. It also looks from the log that watched episodes auto-delete after 7 days, which isn’t reflected in the UI:


Any ideas what’s happening here?

I am seeing the same behavior, any resolutions?

I’d suggest you check the settings for the show in the library, under Advanced, as deletion policies can be applied there too. :slight_smile:

The problem is the show is not even visible in the library as it is deleted right away. Also, I don’t get it why we need two separate places to set the deletion policies. Is there any other way to reset the deletion policies?

Just a thought but you could try copying a current show with a recent air date, change the name to the show being deleted and put it in library. No clue if metadata about air date is part of the file or discovered by Plex from thetvdb. Perhaps Plex would keep the copy long enough for you to check show settings and modify if necessary.

@johnm_ColaSC That is exactly what I did and it worked like a charm. I just copied a video file and replicated the folder structure that Plex uses for shows. I was then able to to change the necessary settings and those settings were retained. Thanks again!

I had exact issue and I believe it will be fixed by making the suggested change (but I won’t know until tomorrow). Shouldn’t this still be a bug as the settings can’t even be accessed without some trickery and it seems like the settings in the advanced section of the recording don’t do anything. I’m new to Plex and didn’t know if there was an official bug report process or if this is it.

Either way, thanks for the help as I believe I’ll at least be good to go now!

Agreed…hopefully, Plex will fix this soon.