# This update broke DVR post processing

**URL:** <https://forums.plex.tv/t/this-update-broke-dvr-post-processing/588521>\
**Category:** Live TV & DVR\
**Tags:** livetv-dvr, server-windows\
**Created:** [May 11, 2020, 1:13am UTC](https://forums.plex.tv/t/this-update-broke-dvr-post-processing/588521 "2020-05-11T01:13:44Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ReenigneArcher](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/reenignearcher/32/276300_2.png) [@ReenigneArcher](https://forums.plex.tv/u/ReenigneArcher)\
**Post date:** [May 11, 2020, 1:13am UTC](https://forums.plex.tv/t/this-update-broke-dvr-post-processing/588521/1 "2020-05-11T01:13:44Z")

</div>

Continuing the discussion from [Plex Media Server](https://forums.plex.tv/t/plex-media-server/30447/324):

My post processing script failed to run beginning on March 11th. I did not realize it wouldn’t run for about 6 or 7 weeks. The script didn’t run and files were immediately added to the library. I know it didn’t run because one of the first thing my scripts does it write some info to a log file. Rolling back to 1.18.8.2468 and the post processing script began working again.

Anyway I can help resolve the issue? I’d like to get back on the latest version.

---

<div class="post-metadata">

**Author:** ![anon18523487](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@anon18523487](https://forums.plex.tv/u/anon18523487)\
**Post date:** [May 11, 2020, 9:17pm UTC](https://forums.plex.tv/t/this-update-broke-dvr-post-processing/588521/2 "2020-05-11T21:17:27Z")

</div>

Did you see this note about the latest version?

> (DVR) Postprocessing scripts must now be located inside APPDATA/Scripts. Old scripts will continue to work

---

<div class="post-metadata">

**Author:** ![ReenigneArcher](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/reenignearcher/32/276300_2.png) [@ReenigneArcher](https://forums.plex.tv/u/ReenigneArcher)\
**Post date:** [May 12, 2020, 12:01am UTC](https://forums.plex.tv/t/this-update-broke-dvr-post-processing/588521/3 "2020-05-12T00:01:10Z")

</div>

Yes, but that is the latest version. As I mentioned the post processing broke after 1.18.8.2468. It was still broken on the latest.

---

<div class="post-metadata">

**Author:** ![anon18523487](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@anon18523487](https://forums.plex.tv/u/anon18523487)\
**Post date:** [May 12, 2020, 6:04am UTC](https://forums.plex.tv/t/this-update-broke-dvr-post-processing/588521/4 "2020-05-12T06:04:46Z")

</div>

There was a bug that actually made that a requirement a few releases earlier. I’m not sure which version it actually started, but give it a try.

---

<div class="post-metadata">

**Author:** ![ReenigneArcher](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/reenignearcher/32/276300_2.png) [@ReenigneArcher](https://forums.plex.tv/u/ReenigneArcher)\
**Post date:** [May 12, 2020, 11:43am UTC](https://forums.plex.tv/t/this-update-broke-dvr-post-processing/588521/5 "2020-05-12T11:43:39Z")

</div>

I tried the version where they changed the location requirement… and it also didn’t work. With the script in the original location or in the designated location. Script doesn’t execute.

---

<div class="post-metadata">

**Author:** ![anon18523487](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@anon18523487](https://forums.plex.tv/u/anon18523487)\
**Post date:** [May 12, 2020, 8:35pm UTC](https://forums.plex.tv/t/this-update-broke-dvr-post-processing/588521/6 "2020-05-12T20:35:50Z")

</div>

Can you get me your PMS log from the last missed event? What show and what time?

---

<div class="post-metadata">

**Author:** ![ReenigneArcher](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/reenignearcher/32/276300_2.png) [@ReenigneArcher](https://forums.plex.tv/u/ReenigneArcher)\
**Post date:** [June 21, 2020, 9:31pm UTC](https://forums.plex.tv/t/this-update-broke-dvr-post-processing/588521/7 "2020-06-21T21:31:27Z")

</div>

Sorry for the delay. Think I got it working now.

Issue was I pasted the full path to the script even though it was in the correct location.

So Plex added to this location and it became E:\AppData\Plex Media Server\Scripts"E:\AppData\Plex Media Server\Scripts\DVR\_post\_process.bat"

---

<div class="post-metadata">

**Author:** ![solstyce9](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@solstyce9](https://forums.plex.tv/u/solstyce9)\
**Post date:** [June 24, 2020, 11:25pm UTC](https://forums.plex.tv/t/this-update-broke-dvr-post-processing/588521/8 "2020-06-24T23:25:12Z")

</div>

I had the same problem when I first started writing my postprocessing script on my Win10 PMS server. Between hacking at the script itself, and figuring out how to get Plex to call it, it took quite a bit of troubleshooting, but everything’s been going smoothly since…

---

<div class="post-metadata">

**Author:** ![ReenigneArcher](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/reenignearcher/32/276300_2.png) [@ReenigneArcher](https://forums.plex.tv/u/ReenigneArcher)\
**Post date:** [July 2, 2020, 6:32pm UTC](https://forums.plex.tv/t/this-update-broke-dvr-post-processing/588521/9 "2020-07-02T18:32:27Z")

</div>

Writing the script was fine and passing the argument is just like with any batch file. The script was working for a year or more without any issue, until this update.

There should be a check if you paste the full path of the script and then the web app should not append the default path to it… Either that or just have a browse button to select the script.

Honestly it makes no sense why the scripts have to be in the specified folder. I should be able to run a script from any directory. I mean it’s probably fine for most people who only run a single script. But for those who a running many scripts across Plex, Tautulli, and various other applications, it’s quite a hassle to have them separated.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [September 30, 2020, 6:32pm UTC](https://forums.plex.tv/t/this-update-broke-dvr-post-processing/588521/10 "2020-09-30T18:32:43Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
