Pass toc_path as argument in program.py
Resolves #368. Signed-off-by: JoeLametta <JoeLametta@users.noreply.github.com>
This commit is contained in:
@@ -126,9 +126,8 @@ class Program:
|
||||
logger.debug('getTable: cddbdiscid %s, mbdiscid %s not in cache '
|
||||
'for offset %s, reading table', cddbdiscid, mbdiscid,
|
||||
offset)
|
||||
t = cdrdao.ReadTOCTask(device)
|
||||
t = cdrdao.ReadTOCTask(device, toc_path=toc_path)
|
||||
t.description = "Reading table"
|
||||
t.toc_path = toc_path
|
||||
runner.run(t)
|
||||
itable = t.toc.table
|
||||
tdict[offset] = itable
|
||||
|
||||
Reference in New Issue
Block a user