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.
This commit is contained in:
parent
4352b01e29
commit
a873fd7f7b
1 changed files with 1 additions and 1 deletions
2
mpv.py
2
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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue