aboutsummaryrefslogtreecommitdiffstats
path: root/playlist.py
diff options
context:
space:
mode:
authorEddy Pedroni <eddy@0xf7.com>2021-12-22 22:14:43 +0100
committerEddy Pedroni <eddy@0xf7.com>2021-12-22 22:14:43 +0100
commit71593d438dff1a54986c94b469faa31c4581f6c7 (patch)
treed9209575ef368d015728937b47c5601ed3268bec /playlist.py
parent5f7e75ae1e53d3833114880d20e899629d21e31a (diff)
Fixed additive loading issue
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)