FIX: add files before watching by tmpcleaner

This commit is contained in:
boyska 2021-03-25 22:25:54 +01:00
parent 1a517e0f29
commit 74a0f2c902

View file

@ -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()