add option to only upload frames

This commit is contained in:
j 2013-07-22 09:51:00 +02:00
commit dc69a10e02
2 changed files with 47 additions and 17 deletions

View file

@ -37,7 +37,7 @@ if __name__ == '__main__':
parser.print_help()
sys.exit(1)
actions = ('scan', 'sync', 'upload', 'extract', 'clean', 'cmd', 'import_srt')
actions = ('scan', 'sync', 'upload', 'upload_frames', 'extract', 'clean', 'cmd', 'import_srt')
config = ('config', 'add_volume')
server = ('server', 'client')
if not args or args[0] not in actions + config + server: