From 9a9a8bb2c9b39b61992fe01b2d4fcaf5bfcc5e7e Mon Sep 17 00:00:00 2001 From: jaseg Date: Sun, 7 May 2017 15:34:36 +0200 Subject: Add playlist_append porcelain --- mpv.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mpv.py b/mpv.py index b93c7ef..56bb47c 100644 --- a/mpv.py +++ b/mpv.py @@ -544,6 +544,9 @@ class MPV(object): def loadlist(self, playlist, mode='replace'): self.command('loadlist', playlist.encode(fs_enc), mode) + def playlist_append(self, filename, **options): + self.loadfile(self, filename, 'append', **options) + def playlist_clear(self): self.command('playlist_clear') -- cgit