My MCEBuddy Settings for Channels DVR

I looked around for a “Dummies” guide to setting up MCEBuddy for my Channels DVR. I found some posts with general advice, but nothing as detailed as I wanted. After experimenting, I got MCEBuddy converting my DVR recordings acceptably.

My goal was to reduce the disk space consumed by my Library. I am fine with MCEBuddy overwriting the originals. If you have other goals you may need significantly different settings.

I may have some unnecessary settings applied (for example, I have both Channels and MCEBuddy doing Commercial Skip marking). However, the process works for me. Video files go from several gigabytes to a few hundred megabytes. That’s a big savings in disk space.

Below are some screenshots and notes about the particular settings I used. It converts files in place, replacing the original file with the newly converted file. I do not archive the originals, although that is an option you may choose.

I present this info “as is.” I do not claim to have the best (or even correct) setup. This document is information sharing and nothing more. Use this information at your own risk. I do not have any relationship with Channels DVR or MCEBuddy other than as a user. I am not an expert with either product. Suggestions and corrections are welcome.

Finally, when I first ran this, it ran non-stop for almost a week to catch up, and I excluded imports on the first run. Your mileage will vary based on your Library size.

Settings

When you set up, you need to select monitor locations and specify the conversion task to apply to files found in the monitored locations.

My DVR files are stored in a root at F:\DVR. You will need to substitute your file locations accordingly for your installation.

Monitor Location

The monitor location establishes the rules for finding files to convert.

These settings monitor my DVR root folder and subfolders for mpg files. In the Monitor Location Expert settings, you can specify more options.

image

Monitor Location Expert Settings

My set values are for Excluded folders and minimum age.

Exclude folders accepts a semi-colon separated list of folders. Notice in my list, I add an asterisk (*) to the end of the folders. The asterisk is a wildcard that excludes subfolders. So, “F:\DVR\Database*” indicates to exclude the DVR Database folder as well as any subfolders under it. Since I chose to monitor the root directory for my DVR, I exclude all nonrelevant subfolders such as Databases, Streaming, Images, etc.

Minimum age before processing inserts a delay before a found file is processed. I set this to 3 hours to allow ComSkip processing time and to keep the server activity lower during prime time, when several recordings may be happening at once.

Conversion Task

A conversion task specified the details of how you want the video files to be converted.

At a base level, you select the Conversion Profile. I selected “HEVC MP4” because I have an Nvidia discrete graphics card. You should choose a profile that will work best for you.

Note that I leave the Destination empty. That will cause MCEBuddy to replace the original file with the converted version.

Finally, note that I enabled ComSkip. This may be unnecessary if you have Channels DVR running ComSkip. I chose to allow the potential duplication of effort.

By expanding Advanced Settings, you get access to more options.

Conversion Task Advanced Settings

Of note, I set the “Selection Filters” to look for File Names matching *.mpg – the extension used by Channels DVR.

I also set the audio language to English, and I opted to have the subtitles and closed captions extracted to a *.SRT file. Some other video players can use the SRT files to display closed captions/subtitles.

Caution: Allowing MCEBuddy to rename files will both rename and relocate them which will very likely break Channels DVR’s access to the file. Read the docs well before you go down this road.

Important!

By default, MCEBuddy will name the files the same as the originals, but the extension may be different. That will break Channels DVR’s ability to find the file.

In my case, the HVEC MP4 profile would generate files with the *.mp4 extension. To correct this, you need to edit the “profiles.conf file located in the config directory where MCEBuddy is installed.”

Within profiles.conf, find the profile you selected and add RenameExt=.mpg to the profile.

That instructs MCEBuddy to use the .mpg extension rather than the default. This will keep Channels DVR happy.

Finally, I did set a few values under Conversion Task Expert Settings.

Conversion Task Expert Settings

I allow MCEBuddy to “Download information.” That may be superfluous, especially since I have Channels DVR creating the MCEBuddy Metadata JSON information file for each recording.

I enabled Hardware acceleration since I have both a discrete graphics card and a recent version of Intel’s graphics.

Finally, I enable

  • Add Subtitles,
  • Add chapters, and
  • Check chapters for Ad markers.

If you do not care about subtitles or chapters, you can ignore those.


That’s it.

As I said, these settings work for me. If you have suggestions or corrections, please post them.

I am fully aware that I may not have selected the best or most efficient choices. However, it does work for me. I hope it helps you. Suggestions and corrections will be appreciated.

5 Likes

This is a post made years ago. It never recieved any replies. I have referenced this post almost anytime someone on forums mentions MCE buddy. This post helped me the very first time I ever tried MCE Buddy.

So thank you. The best part was the mention of modification of file to change file extension. That was a game changer.

Edit: When i seen Jan 18, my head processed made Jan 2018. It means edited January 18th. lol

Actually, I posted this in Jan. 2022. I was hoping that other people would add their settings and explanations to help me and others with refinements or other capabilities to better utilize MCE Buddy.

Nonetheless, I am glad you found it useful.

Well on the "What are You Doing?" part of the OP.

I have been using a "Minimum age before processing" set to 7 days for a profile I use to outright delete commercials from a show before it moves it to a folder in my Plex media structure. It only monitors one show. This gives me a few days to review how well Channels detected commercials and make changes as needed. For the Ad Remover I use "Yes (use Markers)" which utilizes the .edl file Channels makes (when selected under Channels Settings->Integrations).

Now that I know about that extension renaming trick, I might use MCEBuddy for shrinking some of my files that I hope to watch but maybe not right away. Like anything that's been sitting for 15 days, but I am still determined to watch someday. There a "Minimum age before processing" set at 15 days using the procedure in the OP might be something to think about. Almost everything I record I watch within a day or two then trash, so no point monkeying around with anything I am just going to trash in a few days. But it could be months before I get around to that mini series that only got so-so reviews, so shrinking that would be interesting.

Edit Added: My ChannelsDVR and Plex Media Server and all my media files are located on a Synology system. My MCEBuddy runs on my desktop Windows machine and doesn't have any problems handling the networking between the systems and performing these operations.

Great suggestions!

This is an amazing post, thank you so much! Going to give these settings a try.

1 Like

Long time Plex/MCEbuddy user, first time Channels DVR user, trying to figure out a workflow. Mine is a little bit different. I use MCEBuddy to rename and move the file into my main TV show library (it also compresses and comskips). Then Channels reads it back as imported local content.

There are two problems with this approach I need to figure out. #1 it creates duplicate listings with one being missing, since the file is deleted outside of Channels. Are those missing files/entries auto-purged in maintenance? I know how to do it manually. #2 is the hanging JSON file. Although it looks like Plex will index the episode correctly without, MCEBuddy doesn't clean up the file name.

Screenshot 2023-01-08 115849

In order to cleanup the file that was deleted from channels dvr you would need to add a post batch job at the end of the MCEBUDDY profile to prune deleted.

curl -XPUT http://yourip:8089/dvr/pruner/deleted
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>

I always laugh when I'm researching something and I find my old posts.

I recently moved my ChannelsDVR from Windows to Unraid. MCEbuddy is still on the original Windows machine. I noticed that while it is cutting commercials and adding the new file to the Plex library folder, the original files aren't deleted deleted from the ChannelsDVR folder. I'm guessing it's a network permissions issue.

Did you set MCEBUDDY Service to login as a user ?

Example

I hadn't in that interface, but I did within the MCEbuddy app. But I didn't use the Unraid root user, just a shares user. And accessing the shares directly though Windows Explorer(with the same shares user), even though the ChannelsDVR media folder is within my /media share, I can't delete anything directly.

@Edwin_Perez Is that login supposed to be a Windows user, or Unraid user?

I tried adding a UMASK of 022 to the container, like all the other containers, but that didn't seem to work.