add chinese subtitles

This commit is contained in:
j 2018-07-03 16:55:16 +02:00
parent 5f58c7aab7
commit 1c235dfd2a
1 changed files with 4 additions and 1 deletions

View File

@ -244,7 +244,10 @@ if __name__ == '__main__':
output_json = prefix + 'no-en.json'
output_srt = prefix + 'no-en.srt'
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_srt = prefix + lang + '.srt'
render_subtitles(item_json, output_json, output_srt, lang)