From a873fd7f7b5cd46c46502996a829f86b8bf01c65 Mon Sep 17 00:00:00 2001 From: jaseg Date: Wed, 25 Jul 2018 12:07:52 +0200 Subject: command: fix default show-text duration param value The mpv manpage seems to be wrong here. A look at mpv's command.c show that -1 works fine here. --- mpv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpv.py b/mpv.py index cd3fc3b..831a813 100644 --- a/mpv.py +++ b/mpv.py @@ -755,7 +755,7 @@ class MPV(object): """Mapped mpv osd command, see man mpv(1).""" self.command('osd') - def show_text(self, string, duration='-', level=None): + def show_text(self, string, duration='-1', level=None): """Mapped mpv show_text command, see man mpv(1).""" self.command('show_text', string, duration, level) -- cgit