add feature: read album picture from file/url

This commit is contained in:
Terry Geng
2020-02-04 18:00:11 +08:00
parent 30879db7b8
commit 98f096f08f
2 changed files with 90 additions and 35 deletions

View File

@ -56,6 +56,10 @@ class PlayList:
return self.playlist[self.next_index()]
def jump(self, index):
self.current_index = index
return self.playlist[index]
def clear(self):
self.playlist = []
self.current_index = 0