From 0c2fe06cf39375d0746855043a62b06c6136527d Mon Sep 17 00:00:00 2001 From: Sergio Costas Date: Wed, 3 Dec 2014 21:59:34 +0100 Subject: [PATCH] Fixed a bug when jumping to a video that is not visible in the menu --- src/devede/dvdauthor_converter.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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