Using Hazel to run a Handbrake script. Not working

Hi
I have slightly changed the ATV2 preset in Handbrake so that the fps is "Same as Source" and not 29.97. Everything else is the same. I have called this preset 720HD.
I am using hazel to run a script that should run this preset in the CLI program. But its not working. Can anyone advise from this setup, what could be going wrong please.
The handbrake guide says that i should be able to call the preset like this
--preset="Preset Name"
So i have tried removing the "\" from the script, but its not working and i cannot save the hazel rule until i fix the script.
Any ideas?
Thanks for reading.
I have slightly changed the ATV2 preset in Handbrake so that the fps is "Same as Source" and not 29.97. Everything else is the same. I have called this preset 720HD.
I am using hazel to run a script that should run this preset in the CLI program. But its not working. Can anyone advise from this setup, what could be going wrong please.
- Code: Select all
--Start the conversion
set shellCommand to "nice /Applications/HandBrakeCLI -i " & origFilepath & " -o " & newFilepath & " --preset=\"720HD\" ;"
do shell script shellCommand
The handbrake guide says that i should be able to call the preset like this
--preset="Preset Name"
So i have tried removing the "\" from the script, but its not working and i cannot save the hazel rule until i fix the script.
Any ideas?
Thanks for reading.