I've been playing around with Dirmon lately trying to figure out how to make it clean up my orphans files, not freak out on HDTV files, and not control my comskip executing as I let SageMC handle that. I looked around the forums and I didn't see anything directly addressing this problem so I hammered out my own work around.
1) First I set up Dirmon exactly as you would for normal comskipping, however I added a new target extension 'hdtv' and set my triggers as 'Does Exist mpg OR mpeg' AND 'Does Not Exist txt AND hdtv'.
2) Next I created a .bat that accepts the file name as input, just as regular comskip does, and then creates a file with the same name but with the .hdtv extension.
The theory behind this is that I assume that any video that doesn't have a comskip .txt file is an HDTV file that comskip wouldn't process and thus needs to be ignored. Then in the likely case that dirmon catches a regular SD video before it has been comskipped it will go ahead and create the .hdtv file, however, SageMC doesn't check for this so it will be comskipped as usual whenever SageMC gets around to it.
I ran it through the paces the other day and it seemed to work pretty well. No SD show went ignored, Dirmon doesn't try and process my HDTV files over and over again, and all of my orphaned files get deleted.
I hope this helps someone, if not, oh well
contents of my OrphanCleaner.bat
Code:
echo HDTV >> "%~d1%~p1"%~n1.hdtv