]> kaliko git repositories - mpd-sima.git/blobdiff - sima/core.py
Add conf management and cli parsing
[mpd-sima.git] / sima / core.py
index f07c3e94c788b90723dff4a4fec574532eca0a47..c751e5ba2b63a6bd0cafb2f7c79dd62770bc118a 100644 (file)
@@ -45,15 +45,14 @@ class Sima(object):
         """Dispatching callbacks to plugins
         """
         self.log.debug(self.player.status())
+        self.log.info(self.player.current)
         while 42:
             # hanging here untill a monitored event is raised in the player
             changed = self.player.monitor()
-            self.log.debug(self.player.current)
             if 'playlist' in changed:
                 self.foreach_plugin('callback_playlist')
             if 'player' in changed:
-                pass
-
+                self.log.info(self.player.current)
 
 
 # VIM MODLINE