This update broke DVR post processing

Continuing the discussion from Plex Media Server:

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.

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

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.

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.

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.

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

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"

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…

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.

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