Now doesn't fail when there is only one video file and no menu
This commit is contained in:
parent
b15197f315
commit
e5b3a4d32a
2 changed files with 15 additions and 5 deletions
2
setup.py
2
setup.py
|
|
@ -58,7 +58,7 @@ compile_translations()
|
|||
setup(
|
||||
name='devedeng',
|
||||
|
||||
version='4.2',
|
||||
version='4.3',
|
||||
|
||||
description='A video DVD creator',
|
||||
long_description = "A program that allows to create video DVDs",
|
||||
|
|
|
|||
|
|
@ -83,7 +83,17 @@ class dvdauthor_converter(devedeng.executor.executor):
|
|||
xml_file.write('<dvdauthor dest="'+datapath+'">\n')
|
||||
|
||||
if onlyone:
|
||||
xml_file.write('\t<vmgm />\n')
|
||||
xml_file.write('\t<vmgm>\n')
|
||||
xml_file.write("\t\t<menus>\n")
|
||||
|
||||
xml_file.write('\t\t\t<video format="')
|
||||
if self.config.PAL:
|
||||
xml_file.write("pal")
|
||||
else:
|
||||
xml_file.write("ntsc")
|
||||
xml_file.write('" aspect="4:3"> </video>\n')
|
||||
xml_file.write("\t\t</menus>\n")
|
||||
xml_file.write('\t</vmgm>\n')
|
||||
else:
|
||||
xml_file.write('\t<vmgm>\n')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue