diff --git a/playout/playsync.py b/playout/playsync.py index 8eb39f4..b0d03e3 100755 --- a/playout/playsync.py +++ b/playout/playsync.py @@ -189,6 +189,7 @@ def main(): if args.lights: time.sleep(5) + # 42 max player = mpv.MPV( log_handler=my_log, input_default_bindings=True, input_vo_keyboard=True, sub_text_font_size=28, sub_text_font='Menlo' diff --git a/subtitles.py b/subtitles.py index f1a23d1..adbb0d0 100755 --- a/subtitles.py +++ b/subtitles.py @@ -96,9 +96,9 @@ def render_subtitles(item_json, output_json, output_srt): # just use strip_tags? # value = ox.strip_tags(ox.decode_html(sub['value'])) if is_korean: - subs[sub_id]['value'].append(value) - else: subs[sub_id]['value'].insert(0, value) + else: + subs[sub_id]['value'].append(value) subs[sub_id]['ids'].append(sub['id']) position += clip['duration'] subs = sorted(subs.values(), key=lambda c: (c['in'], c['out']))