diff options
author | jaseg <git@jaseg.net> | 2017-05-07 15:34:36 +0200 |
---|---|---|
committer | jaseg <git@jaseg.net> | 2017-05-07 15:34:36 +0200 |
commit | 9a9a8bb2c9b39b61992fe01b2d4fcaf5bfcc5e7e (patch) | |
tree | afcfd43c506a6ed349e3b263600d4ddc52436d64 | |
parent | 32b5fb862778dcf3f06472a1478107c3eba6e815 (diff) | |
download | python-mpv-9a9a8bb2c9b39b61992fe01b2d4fcaf5bfcc5e7e.tar.gz python-mpv-9a9a8bb2c9b39b61992fe01b2d4fcaf5bfcc5e7e.tar.bz2 python-mpv-9a9a8bb2c9b39b61992fe01b2d4fcaf5bfcc5e7e.zip |
Add playlist_append porcelain
-rw-r--r-- | mpv.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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') |