{"action":"created","issue":{"url":"https://api.github.com/repos/HandBrake/HandBrake/issues/237","repository_url":"https://api.github.com/repos/HandBrake/HandBrake","labels_url":"https://api.github.com/repos/HandBrake/HandBrake/issues/237/labels{/name}","comments_url":"https://api.github.com/repos/HandBrake/HandBrake/issues/237/comments","events_url":"https://api.github.com/repos/HandBrake/HandBrake/issues/237/events","html_url":"https://github.com/HandBrake/HandBrake/issues/237","id":162686202,"number":237,"title":"CLI doesn't handle missing presets in a nice way","user":{"login":"dgirgenti","id":1879070,"avatar_url":"https://avatars.githubusercontent.com/u/1879070?v=3","gravatar_id":"","url":"https://api.github.com/users/dgirgenti","html_url":"https://github.com/dgirgenti","followers_url":"https://api.github.com/users/dgirgenti/followers","following_url":"https://api.github.com/users/dgirgenti/following{/other_user}","gists_url":"https://api.github.com/users/dgirgenti/gists{/gist_id}","starred_url":"https://api.github.com/users/dgirgenti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgirgenti/subscriptions","organizations_url":"https://api.github.com/users/dgirgenti/orgs","repos_url":"https://api.github.com/users/dgirgenti/repos","events_url":"https://api.github.com/users/dgirgenti/events{/privacy}","received_events_url":"https://api.github.com/users/dgirgenti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-06-28T13:30:21Z","updated_at":"2016-06-28T13:54:49Z","closed_at":null,"body":"I am trying to use a custom preset with the HandBrakeCLI on OSX. I have a preset named, for this example \"Thing\", which I created in the GUI and verified it is in `UserPresets.plist`. I also set it as default in the GUI for good measure.\r\n\r\nIn Terminal when I run `handbrake --preset=\"Thing\" -i someFile.mp4 -o someFile2.mp4`, I get the exact same output as if I run `handbrake --preset=\"Not A Thing\" -i someFile.mp4 -o someFile2.mp4` or even just `handbrake -i someFile.mp4 -o someFile2.mp4`. Meaning, they all produce the same exact output file.\r\n\r\nWhat's worse is that in the cases where I specify a preset, it says `Using preset: Thing` and `Using preset: Not A Thing`, even though the latter doesn't even exist. Why doesn't it tell me that preset doesn't exist? What is it actually using? If it's using the Normal preset, it should at least tell me so. The more frustrating thing is that I can't seem to get the Thing preset to work via CLI at all, but that's a separate issue.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/HandBrake/HandBrake/issues/comments/229055892","html_url":"https://github.com/HandBrake/HandBrake/issues/237#issuecomment-229055892","issue_url":"https://api.github.com/repos/HandBrake/HandBrake/issues/237","id":229055892,"user":{"login":"dgirgenti","id":1879070,"avatar_url":"https://avatars.githubusercontent.com/u/1879070?v=3","gravatar_id":"","url":"https://api.github.com/users/dgirgenti","html_url":"https://github.com/dgirgenti","followers_url":"https://api.github.com/users/dgirgenti/followers","following_url":"https://api.github.com/users/dgirgenti/following{/other_user}","gists_url":"https://api.github.com/users/dgirgenti/gists{/gist_id}","starred_url":"https://api.github.com/users/dgirgenti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgirgenti/subscriptions","organizations_url":"https://api.github.com/users/dgirgenti/orgs","repos_url":"https://api.github.com/users/dgirgenti/repos","events_url":"https://api.github.com/users/dgirgenti/events{/privacy}","received_events_url":"https://api.github.com/users/dgirgenti/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T13:54:49Z","updated_at":"2016-06-28T13:54:49Z","body":"The problem is that no matter what I pass into `--preset`, it produces the same exact output, with no errors or warnings about missing or invalid presets. I can't get my `Thing` preset to work.\r\n\r\nAdditionally, I am now trying to use the nightly CLI at your suggestion using `handbrakeN --preset-import-gui --preset=\"Thing\" -i ...` and it is saying `Invalid preset Thing`.\r\n\r\n\r\nThanks for the rapid response. I appreciate it"}}
{"actor":{"display_login":"dgirgenti"}}