parent
87b59f8e6b
commit
60b5530942
1 changed files with 4 additions and 0 deletions
4
mpv.py
4
mpv.py
|
|
@ -512,6 +512,10 @@ class MPV(object):
|
||||||
def playlist_prev(self, mode='weak'):
|
def playlist_prev(self, mode='weak'):
|
||||||
self.command('playlist_prev', mode)
|
self.command('playlist_prev', mode)
|
||||||
|
|
||||||
|
@property
|
||||||
|
def playlist_filenames(self):
|
||||||
|
return [element['filename'] for element in self.playlist]
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _encode_options(options):
|
def _encode_options(options):
|
||||||
return ','.join('{}={}'.format(str(key), str(val)) for key, val in options.items())
|
return ','.join('{}={}'.format(str(key), str(val)) for key, val in options.items())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue