From 91422de05a0e408f175433cc8ee8a29d46936be0 Mon Sep 17 00:00:00 2001 From: Elias Müller Date: Sun, 10 Jul 2022 15:13:45 +0200 Subject: Fix show_text level default parameter --- mpv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpv.py b/mpv.py index 1f4f1e8..d450a4a 100644 --- a/mpv.py +++ b/mpv.py @@ -1390,7 +1390,7 @@ class MPV(object): """Mapped mpv print-text command, see man mpv(1).""" self.command('print-text', text) - def show_text(self, string, duration='-1', level=None): + def show_text(self, string, duration='-1', level=0): """Mapped mpv show_text command, see man mpv(1).""" self.command('show_text', string, duration, level) -- cgit