|
|
@ -930,6 +930,7 @@ def main(
|
|
|
|
for location, backend_config in config.items():
|
|
|
|
for location, backend_config in config.items():
|
|
|
|
backend_type = backend_config.pop('type')
|
|
|
|
backend_type = backend_config.pop('type')
|
|
|
|
no_updater = backend_config.pop('no_updater', False)
|
|
|
|
no_updater = backend_config.pop('no_updater', False)
|
|
|
|
|
|
|
|
no_uploader = backend_config.pop('no_uploader', False)
|
|
|
|
cut_type = backend_config.pop('cut_type', 'full')
|
|
|
|
cut_type = backend_config.pop('cut_type', 'full')
|
|
|
|
if backend_type == 'youtube':
|
|
|
|
if backend_type == 'youtube':
|
|
|
|
backend_type = Youtube
|
|
|
|
backend_type = Youtube
|
|
|
@ -945,7 +946,8 @@ def main(
|
|
|
|
backend.encoding_settings = cut_type
|
|
|
|
backend.encoding_settings = cut_type
|
|
|
|
elif cut_type != 'full':
|
|
|
|
elif cut_type != 'full':
|
|
|
|
raise ValueError("Unknown cut type: {!r}".format(cut_type))
|
|
|
|
raise ValueError("Unknown cut type: {!r}".format(cut_type))
|
|
|
|
upload_locations[location] = backend
|
|
|
|
if not no_uploader:
|
|
|
|
|
|
|
|
upload_locations[location] = backend
|
|
|
|
if backend.needs_transcode:
|
|
|
|
if backend.needs_transcode:
|
|
|
|
needs_transcode_check[location] = backend
|
|
|
|
needs_transcode_check[location] = backend
|
|
|
|
if not no_updater:
|
|
|
|
if not no_updater:
|
|
|
|