WIP: Refactor cdrdao toc/table functions into Task and provide progress output (#345)

* Begin work on moving cdrdao to a task

* Add code to start cdrdao task

* Allow cdrdao output to be asynchronously parsable

* Provide progress of cdrdao read toc/table to console

* Flake8 fixes, Freso's advices
This commit is contained in:
JTL
2019-02-02 09:36:03 -08:00
committed by JoeLametta
parent 752b485d28
commit 3e79032b63
3 changed files with 161 additions and 88 deletions

View File

@@ -94,7 +94,6 @@ class _CD(BaseCommand):
utils.unmount_device(self.device)
# first, read the normal TOC, which is fast
logger.info("reading TOC...")
self.ittoc = self.program.getFastToc(self.runner, self.device)
# already show us some info based on this