OK I think I am close to fully automating everything just the way I want it. But I've gone about it a slightly different way. Rather than using the profiles in DVRMSToolbox I crafted a batch file that does everything I need. This was initially primarily to test that the command line tools would accomplish what I needed. It started fairly simple and very manual with multiple steps and batch files, but has morphed into a fairly automated albeit manually triggered process.
The goal here is to convert files in the MKV container into WTV so they will play nice with my MC extenders. The batch file I've created basically takes the format: mkv2wtv "input folder name (year)" "input file name"
the mkv2wtv file
- checks that the user has administrative rights
- checks that the file (.mkv) exists in the directory provided
- If the above items are OK then it determines if the mkv contains DTS audio
- Then based on the above:
- It extract the DTS audio and converts it to ac3 then re-packages a temp.mkv (with ac3 audio) then converts that to the WTV container OR
- it simply repackages the MKV to WTV (in the event DTS was not detected)
- Then of course it cleans up after itself.
The batch file appears to be fully debugged and works like a champ, now I want the extra nerd points to automate everything fully. I expect filewatcher is the way to go about this, but seems now that all this is built and working that the easiest thing would be to have filewatcher call the batch file when it discovers a new mkv file. I would need to pass the file name and potentially the folder name (just need the folder within the watched folder - the path to the watched folder is embeded in the batch file). Curious if there is a way to do this?
Details for clarity:
Watched Folder: \\opennas\media\movies\ --> this would be the watched folder in FW it is also embeded in the batch file so it knows this much of the path to start with.
New Movie arrives: Savnzbd places the new movie in a folder within the watched dir above in the format "movie name (year)" within that folder the movie is in the format "movie name.mkv". Currently I don't need the extension for the batch to run, it appends .mkv but I can change this to accomodate if need be.
I can add a post process script to SABNzd+ but that piece runs on a different linux box, and being these tools are all windows based...
Ideally FW would watch the folder, if a new file is detected (wait 5 mins to be sure SabNZBd gets a chance to finish copying) then run my batch file and pass the folder name and file name to the batch file.
If this isn't possible I can start trying to understand the profiles more and build a profile that does everything I did in the batch file, initially I was getting delayed due to my knowledge gap on the profiles so I used the batch file just to test that the conversion would even work, but now that the batch is working like a champ just looking to leverage that work.
Thanks for taking the time to view my post - appreciate any assistance.