Getchannels.com post processing command

Request Type:
NEW FEATURE

MCEBuddy Version and Type (32bit or 64bit):

**Operating System and Type (32bit or 64bit): windows 64

**Summary of the problem or suggestion: possible to add an option for mcebuddy to send the following command to the getchannels.com plus dvr server after post processing a recording.

Invoke-WebRequest -Method Put http://xxx.xxx.xxx.xxx:8089/dvr/pruner/deleted

curl -XPUT http://x.x.x.x:8089/dvr/pruner/deleted

**Screenshots:*Invoke-WebRequest -Method Put http://xxx.xxx.xxx.xxx:8089/dvr/pruner/deleted

curl -XPUT http://x.x.x.x:8089/dvr/pruner/deleted

for now after mcebuddy post processes a getchannels recording via the provided json file. example below.

{“Description”:“David Spade (“Lights Out With David Spade”); science guy Steve Spangler.”,“Episode”:49,“Genres”:[“Talk”],“IsMovie”:false,“IsSports”:false,“MetadataGenerator”:“Channels DVR”,“OriginalBroadcastDateTime”:“2019-11-14T00:00:00Z”,“RecordedDateTime”:“2019-11-14T20:00:00Z”,“Season”:17,“SeriesPremiereDate”:“2003-09-08T00:00:00Z”,“SubTitle”:“David Spade”,“Title”:“The Ellen DeGeneres Show”}

it sorts into a different path and channels continues to see the files in the dvr. would love to be able to post process with mcebuddy and not have to manually update the channels dvr if there is some way to run that command.

Have you tried creating a PostCustomCommand to do this?

To be honest I did not, I did however just read that whole section and it appears to be way over my head.

It’s simpler than it looks, just read the section about Running Custom Commands, what you need to do is add this to your profile:

PostCustomCommandPath=<Full Path/Relative of the executable>
PostCustomCommandParameters=<Optional parameters to be passed - see below for list>
PostCustomCommandHangPeriod=<0 or +ve number of seconds>
PostCustomCommandCritical=<true or false>
PostCustomCommandUISession=<true or false>
PostCustomCommandShowWindow=<true or false>
PostCustomCommandExitCodeCheck=<true or false>

It’ll run a batch script or file of your choice after its successfully converts a file and you can do what ever you need in that script. There are many examples of sample post custom commands all over the forum.