deemix-py/deemix/app/__init__.py

13 lines
414 B
Python
Raw Normal View History

2020-02-20 14:42:12 +00:00
#!/usr/bin/env python3
2020-08-15 13:49:45 +00:00
from deemix.api.deezer import Deezer
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:
2020-08-15 21:03:05 +00:00
def __init__(self, configFolder=None):
self.set = Settings(configFolder)
2020-08-15 13:49:45 +00:00
self.dz = Deezer()
2020-08-15 21:03:05 +00:00
self.sp = SpotifyHelper(configFolder)
2020-09-12 11:08:28 +00:00
self.qm = QueueManager(self.sp)