add chinese subtitles

This commit is contained in:
j 2018-07-03 16:55:16 +02:00
parent 5f58c7aab7
commit 1c235dfd2a

View file

@ -244,7 +244,10 @@ if __name__ == '__main__':
output_json = prefix + 'no-en.json' output_json = prefix + 'no-en.json'
output_srt = prefix + 'no-en.srt' output_srt = prefix + 'no-en.srt'
render_subtitles(item_json, output_json, output_srt, ['no', 'en']) render_subtitles(item_json, output_json, output_srt, ['no', 'en'])
for lang in ('en', 'ko', 'no'): output_json = prefix + 'ch-en.json'
output_srt = prefix + 'ch-en.srt'
render_subtitles(item_json, output_json, output_srt, ['ch', 'en'])
for lang in ('en', 'ko', 'no', 'ch'):
output_json = prefix + lang + '.json' output_json = prefix + lang + '.json'
output_srt = prefix + lang + '.srt' output_srt = prefix + lang + '.srt'
render_subtitles(item_json, output_json, output_srt, lang) render_subtitles(item_json, output_json, output_srt, lang)