# Getchannels.com post processing command

**URL:** https://discussion.mcebuddy2x.com/t/getchannels-com-post-processing-command/3251
**Category:** New Features
**Created:** [November 15, 2019, 7:06pm UTC](https://discussion.mcebuddy2x.com/t/getchannels-com-post-processing-command/3251 "2019-11-15T19:06:39Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![bry](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/b/aeb1de/32.png) [@bry](https://discussion.mcebuddy2x.com/u/bry)
#### Post date: [November 15, 2019, 7:06pm UTC](https://discussion.mcebuddy2x.com/t/getchannels-com-post-processing-command/3251/1 "2019-11-15T19:06:39Z")

</div>

**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](http://getchannels.com) plus dvr server after post processing a recording.

Invoke-WebRequest -Method Put [http://xxx.xxx.xxx.xxx:8089/dvr/pruner/deleted](http://xxx.xxx.xxx.xxx:8089/dvr/pruner/deleted)

curl -XPUT [http://x.x.x.x:8089/dvr/pruner/deleted](http://x.x.x.x:8089/dvr/pruner/deleted)

\*\*Screenshots:\*Invoke-WebRequest -Method Put [http://xxx.xxx.xxx.xxx:8089/dvr/pruner/deleted](http://xxx.xxx.xxx.xxx:8089/dvr/pruner/deleted)

curl -XPUT [http://x.x.x.x:8089/dvr/pruner/deleted](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.

---

<div class="post-metadata">

### Author: ![Goose](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/g/5f9b8f/32.png) [@Goose](https://discussion.mcebuddy2x.com/u/Goose)
#### Post date: [November 19, 2019, 11:05pm UTC](https://discussion.mcebuddy2x.com/t/getchannels-com-post-processing-command/3251/2 "2019-11-19T23:05:59Z")

</div>

Have you tried creating a `PostCustomCommand` to do this?

> [@MCEBuddy - Advanced Settings, Commands and Tweaking](https://discussion.mcebuddy2x.com/t/mcebuddy-advanced-settings-commands-and-tweaking/30/1#customcommands):
>
> Advanced concepts to use MCEBuddy Refer to the [MCEBuddy Profiles Basics](https://discussion.mcebuddy2x.com/t/27) page to learn about basic Profiles creation NOTE: Advanced Conversion Parameters apply to profiles.conf Do NOT edit mcebuddy.conf. As of v2.3.13 ALL Advanced Configuration Parameters (except FFmpegBackupRemux) in mcebuddy.conf can be accessed through the GUI, Settings → Expert Settings page DO NOT REPLACE THE NEW CONFIGURATION FILES WITH THE OLD FILES AS PARAMETERS IN THE NEW FILES ARE ADDED/UPDATED WITH EACH RELEASE. …

---

<div class="post-metadata">

### Author: ![bry](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/b/aeb1de/32.png) [@bry](https://discussion.mcebuddy2x.com/u/bry)
#### Post date: [November 20, 2019, 4:47pm UTC](https://discussion.mcebuddy2x.com/t/getchannels-com-post-processing-command/3251/3 "2019-11-20T16:47:46Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Goose](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/g/5f9b8f/32.png) [@Goose](https://discussion.mcebuddy2x.com/u/Goose)
#### Post date: [November 20, 2019, 6:05pm UTC](https://discussion.mcebuddy2x.com/t/getchannels-com-post-processing-command/3251/4 "2019-11-20T18:05:26Z")

</div>

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:

```auto
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](https://discussion.mcebuddy2x.com/t/postcustomcommandparameters-seem-to-be-truncating-at-first-space-in-destinationpath/2703/4) of sample post custom commands all over the forum.
