@nonsensical said:
On a Unix-like operating system such as Linux or FreeBSD, create a dummy file inside a TV library NOT OWNED BY PLEX using the following command:
dd if=/dev/zero of=/your/media/library/path/tvshowname_S01E05.mkv bs=1m count=1k
This will create a file 1GB in size named as your tv show, season 1, episode 5.
Keep in mind: Your dummy file must be of some size. Creating an empty dummy file doesn’t work.
If you have only one TV library path setup on Plex and ownership also happens to belong to Plex, it may be possible for your Plex server to delete the show before you have the chance to change your deletion rules. In this case, just create a new directory owned by your own username, create the dummy file inside that new directory and point Plex to it.
After letting Plex scan and pick up the show, change your deletion rules in Plex. Afterwards, you will have to delete your dummy file manually using:
rm tvshowname_S01E05.mkv
That’s it. You should be good to go.
Thanks for the clarification; this makes sense. I was able to duplicate with successful recording on one of my shows. Now to repeat on the other programs.
I really hope the Plex team has the bandwidth to further investigate and fix in an upcoming release.
I was able to capture a failed recording today with verbose logging enabled, and it exactly matches the previous reports: it appears the garbage collection is (incorrectly) kicking in almost immediately. Selective excerpts from the log include:
Jun 20, 2017 17:02:01.198 [0x7fa3deffb700] DEBUG - DVR:Grabber: Postprocessing, we’re going to put Gilligan's Island - E18 - X Marks the Spot in /media/DATA/TV_Recordings/Gilligan's Island (1964)/Season 01/Gilligan's Island (1964) - S01E18 - X Marks the Spot.mkv
Jun 20, 2017 17:02:01.218 [0x7fa3deffb700] DEBUG - DVR:Grabber: Moving /media/DATA/TV_Recordings/.grab/431b76dd4b96e9d6f2e3d91983b470f9464ba2a0/Gilligan’s Island (1964) - S01E18 - X Marks the Spot.mkv to /media/DATA/TV_Recordings/Gilligan’s Island (1964)/Season 01/Gilligan’s Island (1964) - S01E18 - X Marks the Spot.mkv
Jun 20, 2017 17:02:01.219 [0x7fa3e63fb700] INFO - Library section 1 (Robot - DVR) will be updated because of a change in /media/DATA/TV_Recordings/Gilligan’s Island (1964)/Season 01
Jun 20, 2017 17:02:03.338 [0x7fa3deffb700] DEBUG - DVR:Grabber: Operation for Gilligan’s Island - E18 - X Marks the Spot completed with status complete (Success)
Jun 20, 2017 17:02:03.338 [0x7fa3ea7fb700] DEBUG - Garbage Collector: Deleting expired unwatched content for Gilligan’s Island (policy: -7 before 2017-06-13)
Jun 20, 2017 17:02:03.341 [0x7fa3ea7fb700] DEBUG - Garbage Collector: Deleting episode 18 - X Marks the Spot (beyond window of 7 days old)