Nos generates the DVAuthor XML file

This commit is contained in:
Sergio Costas 2014-07-30 00:02:41 +02:00
parent 64a2b57872
commit 1373141ecb
6 changed files with 489 additions and 45 deletions

View file

@ -28,16 +28,20 @@ class mux_dvd_menu(devede.executor.executor):
devede.executor.executor.__init__(self)
self.config = devede.configuration_data.configuration.get_config()
def create_mpg(self,n_page,output_path):
def create_mpg(self,n_page,output_path,movie_path):
self.n_page = n_page
self.text = _("Mixing menu %(X)d") % {"X": self.n_page}
final_path = os.path.join(output_path,"menu_"+str(n_page)+"B.mpg")
self.command_var=[]
self.command_var.append("spumux")
self.command_var.append(os.path.join(output_path,"menu_"+str(n_page)+".xml"))
self.stdin_file = os.path.join(output_path,"menu_"+str(n_page)+".mpg")
self.stdout_file = os.path.join(output_path,"menu_"+str(n_page)+"B.mpg")
self.stdin_file = movie_path
self.stdout_file = final_path
return final_path
def process_stderr(self,data):