]> kaliko git repositories - mpd-sima.git/commitdiff
Use the relevant callback to crop playlist
authorkaliko <efrim@azylum.org>
Sun, 2 Feb 2014 15:57:22 +0000 (16:57 +0100)
committerkaliko <efrim@azylum.org>
Sun, 2 Feb 2014 17:51:20 +0000 (18:51 +0100)
sima/plugins/internal/crop.py

index 5ac8f0f84d6693e1e19c5cebf315a1c302842571..2ecbfc10a61edc94eaeb40ae902afa321dd0bb1c 100644 (file)
@@ -29,7 +29,7 @@ class Crop(Plugin):
         else:
             self.target = int(target)
 
-    def callback_playlist(self):
+    def callback_next_song(self):
         if not self.target:
             return
         player = self._Plugin__daemon.player