def __init__(self):
        self.player = Player()
        self.playlist = Playlist()
        self.listenerRegistry = ListenerRegistry()
        self.infoListenerRegistry = ListenerRegistry()
        self.library = Library()

        self.scrobbler = getScrobbler()

        self.player.onPush = self.onBufferReceived
        self.player.onStart = self.onPlaybackStarted
        self.player.onTrackFinished = self.onTrackFinished
        self.player.onStop = self.onPlayerStopped
        self.player.onTimerUpdate = self.onTimerUpdate
        self.player.onPaused = self.onPlayerPaused
        self.playlist.onChanged = self.onPlaylistChange