From a83781ef56a29b3d4b9d09f107fc41ce28c56753 Mon Sep 17 00:00:00 2001 From: j Date: Wed, 15 Nov 2023 09:39:44 +0100 Subject: [PATCH] move subs up --- player/player.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/player/player.py b/player/player.py index e6dddf1..e340728 100755 --- a/player/player.py +++ b/player/player.py @@ -21,6 +21,7 @@ DEBUG = False FONT = 'Menlo' FONT_SIZE = 36 FONT_BORDER = 5 +SUB_MARGIN = FONT_SIZE + 6 def mpv_log(loglevel, component, message): @@ -53,6 +54,7 @@ class Sync(Thread): input_vo_keyboard=True, sub_text_font_size=FONT_SIZE, sub_text_font=FONT, sub_border_size=FONT_BORDER, + sub_margin_y=SUB_MARGIN, ) self.mpv.observe_property('time-pos', self.time_pos_cb) self.mpv.fullscreen = kwargs.get('fullscreen', False)