diff --git a/src/devede/dvdauthor_converter.py b/src/devede/dvdauthor_converter.py index 8444168..fc616fe 100644 --- a/src/devede/dvdauthor_converter.py +++ b/src/devede/dvdauthor_converter.py @@ -394,17 +394,17 @@ class dvdauthor_converter(devede.executor.executor): prev_t = total_t - 1 else: prev_t = titles - 1 - xml_file.write(str(title_list[prev_t])) + xml_file.write(str(prev_t)) elif action=="action_play_again": - xml_file.write(str(title_list[titles])) + xml_file.write(str(titles)) elif action=="action_play_next": if titles==total_t-1: next_t=0 else: next_t=titles+1 - xml_file.write(str(title_list[next_t])) + xml_file.write(str(next_t)) elif action=="action_play_last": - xml_file.write(str(title_list[total_t-1])) + xml_file.write(str(total_t-1)) else: xml_file.write('1') # first