13 lines
466 B
Python
13 lines
466 B
Python
from deemix.api.deezer import Deezer
|
|
from deemix.app.settings import Settings
|
|
from deemix.app.queuemanager import QueueManager
|
|
from deemix.app.spotifyhelper import SpotifyHelper
|
|
|
|
class deemix:
|
|
def __init__(self, configFolder=None):
|
|
self.set = Settings(configFolder)
|
|
self.dz = Deezer()
|
|
self.dz.set_accept_language(self.set.settings.get('tagsLanguage'))
|
|
self.sp = SpotifyHelper(configFolder)
|
|
self.qm = QueueManager(self.sp)
|