From d977cfb2ef8f0cd9048a4b67f2d8546125c14f68 Mon Sep 17 00:00:00 2001 From: Sergio Costas Date: Mon, 1 Feb 2016 23:36:08 +0100 Subject: [PATCH] Fixed the menu working when using the Play all option --- HISTORY.md | 3 +++ setup.py | 2 +- src/devedeng/dvdauthor_converter.py | 10 ++++++---- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 7899d6f..893f2eb 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,4 +1,7 @@ ## History of versions ## +* version 4.5.0 (2016-01-02) + * Reduced the height of the MENU window + * Now the menu works fine when enabling the "Play all" option * version 4.4.0 (2015-11-07) * Removed MPlayer as an option for getting movie information diff --git a/setup.py b/setup.py index cafab3a..bc5eb28 100755 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ except: setup( name='devedeng', - version='4.4.0', + version='4.5.0', description='A video DVD creator', long_description = "A program that allows to create video DVDs", diff --git a/src/devedeng/dvdauthor_converter.py b/src/devedeng/dvdauthor_converter.py index 8599a00..8fb06f5 100644 --- a/src/devedeng/dvdauthor_converter.py +++ b/src/devedeng/dvdauthor_converter.py @@ -213,13 +213,15 @@ class dvdauthor_converter(devedeng.executor.executor): for nbutton in menu_page["chapters"]: #xml_file.write('\t\t\t\t\n') xml_file.write('\t\t\t\t\n') - if not play_all_opt: + xml_file.write('\t\t\t\t\tg0=1;\n') + xml_file.write('\t\t\t\t\tjump vmgm menu;\n') + else: + xml_file.write('\t\t\t\t\tg0='+str(title_list[button_counter])+';\n') + xml_file.write('\t\t\t\t\tjump vmgm menu;\n') button_counter+=1 + xml_file.write('\t\t\t\t\n') if (menu_page["left"] != None): xml_file.write('\t\t\t\t