deemix-py/deemix/app/__init__.py

12 lines
505 B
Python
Raw Normal View History

from deezer import Deezer
2020-08-15 13:49:45 +00:00
from deemix.app.settings import Settings
from deemix.app.queuemanager import QueueManager
2020-08-15 21:03:05 +00:00
from deemix.app.spotifyhelper import SpotifyHelper
2020-08-14 18:31:37 +00:00
class deemix:
def __init__(self, configFolder=None, overwriteDownloadFolder=None):
self.set = Settings(configFolder, overwriteDownloadFolder=overwriteDownloadFolder)
2021-02-11 18:05:06 +00:00
self.dz = Deezer(self.set.settings.get('tagsLanguage'))
2020-08-15 21:03:05 +00:00
self.sp = SpotifyHelper(configFolder)
2021-02-11 18:05:06 +00:00
self.qm = QueueManager(self.dz, self.sp)