Add playlist_append porcelain
This commit is contained in:
parent
32b5fb8627
commit
9a9a8bb2c9
1 changed files with 3 additions and 0 deletions
3
mpv.py
3
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')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue