Update UI to include a 'Play All' option.Add 'play_all' group for UI.Pass 'play_all_opt' to dvdauthor.

This commit is contained in:
glenntanner3 2015-04-28 16:04:32 -04:00
parent db0156a460
commit a9b8d4bb2b
4 changed files with 86 additions and 15 deletions

View file

@ -525,8 +525,12 @@ class devede_project:
start_with_menu = True
else:
start_with_menu = False
if (self.menu.play_all == "menu_show_at_startup"):
play_all_opt = True
else:
play_all_opt = False
dvdauthor = devedeng.dvdauthor_converter.dvdauthor_converter()
dvdauthor.create_dvd_project(data.path, data.name, file_movies, menu_entries, start_with_menu)
dvdauthor.create_dvd_project(data.path, data.name, file_movies, menu_entries, start_with_menu, play_all_opt)
# dvdauthor must wait until all the files have been converted
for element in final_dependencies:
dvdauthor.add_dependency(element)