diff options
author | jaseg <git@jaseg.de> | 2022-04-20 14:25:33 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2022-04-22 21:52:51 +0200 |
commit | 116c756fa4dfd1a7cb9c99df1147ac1f1451d547 (patch) | |
tree | b91e20ba434f37a915502d240568473ef0424d64 /mpv.py | |
parent | 9148f544eb761440a05264550b82888ebc03f547 (diff) | |
download | python-mpv-116c756fa4dfd1a7cb9c99df1147ac1f1451d547.tar.gz python-mpv-116c756fa4dfd1a7cb9c99df1147ac1f1451d547.tar.bz2 python-mpv-116c756fa4dfd1a7cb9c99df1147ac1f1451d547.zip |
add albumart arg to video_add
Diffstat (limited to 'mpv.py')
-rw-r--r-- | mpv.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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).""" |