add albumart arg to video_add
This commit is contained in:
parent
9148f544eb
commit
116c756fa4
1 changed files with 2 additions and 2 deletions
4
mpv.py
4
mpv.py
|
|
@ -1323,9 +1323,9 @@ class MPV(object):
|
|||
"""Mapped mpv audio_reload command, see man mpv(1)."""
|
||||
self.command('audio_reload', audio_id)
|
||||
|
||||
def video_add(self, url, flags='select', title=None, lang=None):
|
||||
def video_add(self, url, flags='select', title=None, lang=None, albumart=None):
|
||||
"""Mapped mpv video_add command, see man mpv(1)."""
|
||||
self.command('video_add', url.encode(fs_enc), *_drop_nones(flags, title, lang))
|
||||
self.command('video_add', url.encode(fs_enc), *_drop_nones(flags, title, lang, albumart))
|
||||
|
||||
def video_remove(self, video_id=None):
|
||||
"""Mapped mpv video_remove command, see man mpv(1)."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue