fix: refresh video metatdata after validation

This commit is contained in:
Terry Geng
2020-03-12 18:18:12 +08:00
parent 7af9d29932
commit a2cb955ed8
4 changed files with 28 additions and 16 deletions

View File

@ -177,15 +177,6 @@ class CachedItemWrapper:
self.lib.save(self.id)
return ret
def async_prepare(self):
th = threading.Thread(
target=self.prepare, name="Prepare-" + self.id[:7])
self.log.info(
"%s: start preparing item in thread: " % self.item().type + self.format_debug_string())
th.daemon = True
th.start()
return th
def uri(self):
return self.item().uri()