deemix-py/deemix/app/__init__.py

15 lines
475 B
Python

#!/usr/bin/env python3
import eventlet
eventlet.import_patched('requests.__init__')
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.sp = SpotifyHelper(configFolder)
self.qm = QueueManager(self.sp)