from .client import PlayerClient
from .client import PlayerError, PlayerUnHandledError
from .lib.simadb import SimaDB
from .client import PlayerClient
from .client import PlayerError, PlayerUnHandledError
from .lib.simadb import SimaDB
- def __init__(self, conf, dbfile):
+ def __init__(self, conf):
+ ## Set daemon
+ Daemon.__init__(self, conf.get('daemon', 'pidfile'))
"""Instanciate the player"""
host = self.config.get('MPD', 'host')
port = self.config.get('MPD', 'port')
"""Instanciate the player"""
host = self.config.get('MPD', 'host')
port = self.config.get('MPD', 'port')