diff --git a/app.py b/app.py index 876c0d1..7008837 100644 --- a/app.py +++ b/app.py @@ -16,7 +16,7 @@ class deemix: self.configFolder = portable or getConfigFolder() self.set = Settings(self.configFolder) self.sp = SpotifyHelper(self.configFolder) - self.qm = QueueManager() + self.qm = QueueManager(self.sp) self.chartsList = [] self.homeCache = None @@ -48,7 +48,7 @@ class deemix: self.qm.loadQueue(self.configFolder, self.set.settings, interface) def queueRestored(self, dz, interface=None): - self.qm.nextItem(dz, self.sp, interface) + self.qm.nextItem(dz, interface) def get_charts(self, dz): if len(self.chartsList) == 0: @@ -140,7 +140,7 @@ class deemix: def addToQueue(self, dz, url, bitrate=None, interface=None): if ';' in url: url = url.split(";") - self.qm.addToQueue(dz, self.sp, url, self.set.settings, bitrate, interface) + self.qm.addToQueue(dz, url, self.set.settings, bitrate, interface) def removeFromQueue(self, uuid, interface=None): diff --git a/server-requirements.txt b/server-requirements.txt index 4053e80..354709f 100644 --- a/server-requirements.txt +++ b/server-requirements.txt @@ -1,3 +1,3 @@ -deemix>=1.2.22 +deemix>=1.3.0 flask flask-socketio