Changes to cinecode.py before releasing

(For all platforms)

Before packaging cinecode for release, we want to remove support for the command line options. To do this, we set sys.argv ourself in the main() in cinecode.py, to overwrite any parameter that might have been appended. So, we add the following at the beginning of main( ), before initialising the parser (before 'parser = ...') :

sys.argv = ['cinecode']

Also we can use this to specify some parameters ourselves. For instance if we want a build that encodes to the desktop, we can pass the --disable_upload parameter, by adding instead :

sys.argv = ['cinecode', '--disable_upload']