summaryrefslogtreecommitdiff
path: root/mpv.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-04-20 14:25:33 +0200
committerjaseg <git@jaseg.de>2022-04-22 21:52:51 +0200
commit116c756fa4dfd1a7cb9c99df1147ac1f1451d547 (patch)
treeb91e20ba434f37a915502d240568473ef0424d64 /mpv.py
parent9148f544eb761440a05264550b82888ebc03f547 (diff)
downloadpython-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.py4
1 files 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)."""