From: kaliko Date: Sun, 2 Feb 2014 15:57:22 +0000 (+0100) Subject: Use the relevant callback to crop playlist X-Git-Tag: mpd-sima/0.12.0pr3~12 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=68ccd3f55d5fcf7517fe9296aa2fc9a1af14fff2;p=mpd-sima.git Use the relevant callback to crop playlist --- diff --git a/sima/plugins/internal/crop.py b/sima/plugins/internal/crop.py index 5ac8f0f..2ecbfc1 100644 --- a/sima/plugins/internal/crop.py +++ b/sima/plugins/internal/crop.py @@ -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