Now uses the folder dvd_tree to store the DVD structure, reducing even more the number of needed folders

This commit is contained in:
Sergio Costas 2014-08-10 11:29:00 +02:00
parent 325cfcc22f
commit c914b5e66c
4 changed files with 9 additions and 11 deletions

View file

@ -414,11 +414,9 @@ class devede_project:
if retval:
# delete only the bare minimun needed
shutil.rmtree(os.path.join(data.path,"dvd_tree"),True)
print("Delete "+str(os.path.join(data.path,"dvd_tree")))
shutil.rmtree(os.path.join(data.path,"menu"),True)
shutil.rmtree(os.path.join(data.path,"movies"),True)
shutil.rmtree(os.path.join(data.path,"xml_data"),True)
shutil.rmtree(os.path.join(data.path,data.name),True)
if self.config.disc_type == "dvd":
try:
os.unlink(os.path.join(data.path,data.name+".iso"))