aboutsummaryrefslogtreecommitdiffstats
path: root/playlist.py
diff options
context:
space:
mode:
Diffstat (limited to 'playlist.py')
-rw-r--r--playlist.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/playlist.py b/playlist.py
index 084fd21..d25395b 100644
--- a/playlist.py
+++ b/playlist.py
@@ -19,3 +19,6 @@ class Playlist:
def getSongs(self):
return self._songList
+
+ def clear(self):
+ self.__init__(self._setSongCallback)