From 74a0f2c9028129e6d67f9a364488e14cd8d5c7a5 Mon Sep 17 00:00:00 2001 From: boyska Date: Thu, 25 Mar 2021 22:25:54 +0100 Subject: [PATCH] FIX: add files before watching by tmpcleaner --- larigira/mpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/larigira/mpc.py b/larigira/mpc.py index 7027b86..1fb79bb 100644 --- a/larigira/mpc.py +++ b/larigira/mpc.py @@ -124,8 +124,8 @@ class Player: uris = greenlet.value for uri in uris: assert type(uri) is str, type(uri) - self.tmpcleaner.watch(uri.strip()) mpd_client.add(uri.strip()) + self.tmpcleaner.watch(uri.strip()) picker.link_value(add) picker.start()