diff --git a/larigira/mpc.py b/larigira/mpc.py index 9cef93a..e35b2d3 100644 --- a/larigira/mpc.py +++ b/larigira/mpc.py @@ -160,6 +160,9 @@ class Player: filterok, reason = self.enqueue_filter(songs) if not filterok: self.log.debug('Ignoring <%s>, filtered: %s', nicks, reason) + # delete those files + for uri in reversed(songs['uris']): + self.tmpcleaner.watch(uri.strip()) return mpd_client = self._get_mpd() for uri in reversed(songs['uris']):