+ def __str__(self):
+ return self.__class__.__name__
+
+ def __get_config(self):
+ """Get plugin's specific configuration from global applications's config
+ """
+ conf = self.__daemon.config
+ for sec in conf.sections():
+ if sec.lower() == self.__class__.__name__.lower():
+ self.plugin_conf = conf[sec]
+ #if self.plugin_conf:
+ # self.log.debug('Got config for {0}: {1}'.format(self,
+ # self.plugin_conf))
+
+ def callback_player(self):
+ """
+ Called on player changes, stopped, paused, skipped
+ """
+ pass
+
+ def callback_player_database(self):
+ """
+ Called on player music library changes
+ """
+ pass