From 116c756fa4dfd1a7cb9c99df1147ac1f1451d547 Mon Sep 17 00:00:00 2001 From: jaseg Date: Wed, 20 Apr 2022 14:25:33 +0200 Subject: add albumart arg to video_add --- mpv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mpv.py b/mpv.py index 3523cf7..df33692 100644 --- a/mpv.py +++ b/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).""" -- cgit