aboutsummaryrefslogtreecommitdiffstats
path: root/playlist.py
diff options
context:
space:
mode:
Diffstat (limited to 'playlist.py')
-rw-r--r--playlist.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/playlist.py b/playlist.py
index e5a4daf..5c52774 100644
--- a/playlist.py
+++ b/playlist.py
@@ -1,10 +1,10 @@
import logging
class Playlist:
- def __init__(self, player):
+ def __init__(self, callback):
self._songList = list()
self._currentSong = None
- self._setSongCallback = player.setCurrentSong
+ self._setSongCallback = callback
def addSong(self, path):
self._songList.append(path)