Change function name
Remove unused variable
Remove some dependencies on shell class
Remove shell class dependencies
Fix typos
Allow dry runs
Add dry run
Set dry runs; check Handbrake's exit code
Modify logic if handbreak did not successfully encode
Add more logic for dry run and handbrake success
Add TODO item
Add more logic for dry run and handbrake success
Wrong variable
Remove old commented code
Checking handbrake success is only necessary if handbrake was executed -- continue in situations where the files may exist already; Remove an episode from the queue if it is a dry run
On a dry run, pretend the file was encoded
Remove setting variable twice
Be thorough and increment num encoded
Remove setting variable twice
Num encoded is set later, where it makes more sense