Browse Source

FIX: add files before watching by tmpcleaner

boyska 3 years ago
parent
commit
74a0f2c902
1 changed files with 1 additions and 1 deletions
  1. 1 1
      larigira/mpc.py

+ 1 - 1
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()