Fixed a bug when jumping to a video that is not visible in the menu
This commit is contained in:
parent
0d312c19f2
commit
0c2fe06cf3
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue