# HDHOMERUN DVR and MCEBUDDY Archive

**URL:** <https://discussion.mcebuddy2x.com/t/hdhomerun-dvr-and-mcebuddy-archive/3275>\
**Category:** HDHomeRun\
**Created:** [November 27, 2019, 7:03pm UTC](https://discussion.mcebuddy2x.com/t/hdhomerun-dvr-and-mcebuddy-archive/3275 "2019-11-27T19:03:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Burger23](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/b/9de0a6/32.png) [@Burger23](https://discussion.mcebuddy2x.com/u/Burger23)\
**Post date:** [November 27, 2019, 7:03pm UTC](https://discussion.mcebuddy2x.com/t/hdhomerun-dvr-and-mcebuddy-archive/3275/1 "2019-11-27T19:03:58Z")

</div>

I am using HDHOMERUN DVR to record shows. It places a recorded show into a specified location (in my case, a WDCLOUD NAS drive, \WDCLOUD\HDHomerun) and inside a folder it creates with the show’s title. MCEBUDDY processes the shows and places new file in the HDHomerun folder. Unfortunately, HDHOMEUN DVR now displays 2 identical shows: the original from the \HDHomerun folder- and the commercial free under the WDCLOUD (it is not placed in the HDHomerun folder). The solution I prefer is to Archive the original file in a completely different folder (not the HDHomerun folder) so then not be seen by the HDHOMERUN DVR watched location. Ideas on how to do this? Or a better solution? Thanks

---

<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 27, 2019, 8:48pm UTC](https://discussion.mcebuddy2x.com/t/hdhomerun-dvr-and-mcebuddy-archive/3275/2 "2019-11-27T20:48:50Z")

</div>

See if this helps: [How to prevent HDHomeRun from recording shows](https://discussion.mcebuddy2x.com/t/how-to-prevent-hdhomerun-from-recording-shows/72)

---

<div class="post-metadata">

**Author:** ![Burger23](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/b/9de0a6/32.png) [@Burger23](https://discussion.mcebuddy2x.com/u/Burger23)\
**Post date:** [November 28, 2019, 2:22am UTC](https://discussion.mcebuddy2x.com/t/hdhomerun-dvr-and-mcebuddy-archive/3275/3 "2019-11-28T02:22:34Z")

</div>

Thanks so much or your prompt reply. First, I know little about programming- and even less about scripts. In other words, I really don’t know what I’m doing!!But I am trying to learn.

First, I added to folders to my C: drive: PartCopy and ArchivedFiles

Second, I modified the MakeStub file- and placed both it and PartCopy files into C:\PartCopy folder

**MakeStub script:**  
PartCopy %1 %1.tmp %2 %3  
move %1 C:\ArchivedFiles  
move %1.tmp %1

Thirdly, I finally found the profiles.conf file, selected the profile that I am using (HDHomerun Unprocessed) and added the lines (in _italics_) as shown below:

[HDHomeRun Unprocessed]

Description=Used to remove commercials and create a SiliconDust HDHomeRun compatible MPG file while keeping original video/audio quality and format. It does not remove black bars, resize the video, deinterlace or select audio language.

order=copy,ffmpeg  
copy-ext=.ts  
copy-audiodelay=skip  
ffmpeg-general=-threads 0  
ffmpeg-video=-vcodec copy -f mpegts -map 0:v -sn  
ffmpeg-audio=-acodec copy -map 0:a  
ffmpeg-audioac3=-acodec copy -map 0:a  
ffmpeg-ext=.ts  
ffmpeg-audiodelay=skip  
FixedResolution=true  
SkipCropping=true  
PreConversionCommercialRemover=true  
RenameExt=.mpg  
_PostCustomCommandPath=C:\PartCopy\MakeStub.bat_  
_PostCustomCommandParameters="%sourcefile%" 0d 100000d_  
_PostCustomCommandHangPeriod=600_  
_PostCustomCommandCritical=true_  
_PostCustomCommandUISession=false_  
_PostCustomCommandShowWindow=false_  
_PostCustomCommandExitCodeCheck=false_

But, nothing happened. The original file remains. I am guessing that the batch file never started. It does take up to 30 minutes for MCEBuddy to do its thing- but I assume that is accounted for in the script.

Please take a quick look- and let me know what I did wrong. Thanks for your time.

---

<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 28, 2019, 2:30pm UTC](https://discussion.mcebuddy2x.com/t/hdhomerun-dvr-and-mcebuddy-archive/3275/4 "2019-11-28T14:30:31Z")

</div>

That link basically keeps a stub of the original file so that it didn’t take up space and also prevents HDHR from re-recording the same show.

In your case, have you configured MCEBuddy monitor task to delete your original file? That could be one reason why HDHR is showing both files.

You could also have MCEBuddy just replace your original file with the converted file after conversion. Leave the destination folder empty in the _Conversion Task_ (this puts the converted file back into the source folder) and also _uncheck the Rename_ option. This you won’t have two copies of the same recording

---

<div class="post-metadata">

**Author:** ![Burger23](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/b/9de0a6/32.png) [@Burger23](https://discussion.mcebuddy2x.com/u/Burger23)\
**Post date:** [December 1, 2019, 5:53pm UTC](https://discussion.mcebuddy2x.com/t/hdhomerun-dvr-and-mcebuddy-archive/3275/5 "2019-12-01T17:53:35Z")

</div>

Thanks, Goose. I used both your suggestions and the double listing has been solved.

I’m not sure if this question is MCEBuddy- or HDHomerun Record issue. When a show starts recording using the HDHomerun GUI, a new folder with thumbnail is created for each series. On the other hand, in the process of moving previously recorded shows from WMC (.WTV format), I copy it to the watched NAS location, MCEBuddy picks it up, removes commercials and converts to .mpg file. But files are not put into a folder (I really don’t care about this), and this show is shown in HDHomerun GUI as a grey folder with no thumbnail. If a show is recorded in both ways (MCE and HDHomerun), there will be 2 separate listings in HDHomerun RECORD- one with thumbnail- one with grey only. Is there a way to add a thumbnail to a converted .wtv file?

---

<div class="post-metadata">

**Author:** ![mike808](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/m/c5a1d2/32.png) [@mike808](https://discussion.mcebuddy2x.com/u/mike808)\
**Post date:** [December 3, 2019, 5:41am UTC](https://discussion.mcebuddy2x.com/t/hdhomerun-dvr-and-mcebuddy-archive/3275/6 "2019-12-03T05:41:46Z")

</div>

Setup a profile just for processing .wtv files and have MCEBuddy place the files (using the rename feature) in \WDCLOUD\HDHOMERUN\%showname%\%filename%

I think thats the syntax. The tags might be off, but you get the idea.

You can also create a folder \WDCLOUD\MCEBuddyArchive and make that your archive directory to keep the original file until you’re comfortable turning off keeping archives or scheduling a cleaning of the archive folder whenever you want.
