diff options
author | jaseg <code@jaseg.net> | 2018-07-25 12:07:52 +0200 |
---|---|---|
committer | jaseg <code@jaseg.net> | 2018-07-25 12:07:52 +0200 |
commit | a873fd7f7b5cd46c46502996a829f86b8bf01c65 (patch) | |
tree | 8535a6dc1ee0323206949b65303e13a1d6ffe023 /mpv.py | |
parent | 4352b01e292f530327d32ac55bafb730274ab8cd (diff) | |
download | python-mpv-a873fd7f7b5cd46c46502996a829f86b8bf01c65.tar.gz python-mpv-a873fd7f7b5cd46c46502996a829f86b8bf01c65.tar.bz2 python-mpv-a873fd7f7b5cd46c46502996a829f86b8bf01c65.zip |
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.
Diffstat (limited to 'mpv.py')
-rw-r--r-- | mpv.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |