Now jumps to the desired next video when the current movie ends and the creator set it to jump to another menu entry
This commit is contained in:
parent
f765450864
commit
637d210199
3 changed files with 9 additions and 6 deletions
|
|
@ -47,6 +47,9 @@ Some of the future ideas to add to Devede NG are, without an specific order:
|
|||
|
||||
|
||||
## History of versions ##
|
||||
* version 0.1 beta 10 (2015-01-22)
|
||||
* Now jumps to the desired next video when the current movie ends and the creator set it to jump to another menu entry
|
||||
|
||||
* version 0.1 beta 9 (2015-01-16)
|
||||
* Now doesn't fail with AVPROBE or FFPROBE if a file doesn't have streams
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ class configuration(GObject.GObject):
|
|||
|
||||
def __init__(self):
|
||||
GObject.GObject.__init__(self)
|
||||
self.version = "0.1 Beta 9"
|
||||
self.version = "0.1 Beta 10"
|
||||
|
||||
def fill_config(self):
|
||||
|
||||
|
|
|
|||
|
|
@ -394,17 +394,17 @@ class dvdauthor_converter(devede.executor.executor):
|
|||
prev_t = total_t - 1
|
||||
else:
|
||||
prev_t = titles - 1
|
||||
xml_file.write(str(prev_t))
|
||||
xml_file.write(str(prev_t + 1))
|
||||
elif action=="action_play_again":
|
||||
xml_file.write(str(titles))
|
||||
xml_file.write(str(titles + 1))
|
||||
elif action=="action_play_next":
|
||||
if titles==total_t-1:
|
||||
next_t=0
|
||||
else:
|
||||
next_t=titles+1
|
||||
xml_file.write(str(next_t))
|
||||
next_t=titles + 1
|
||||
xml_file.write(str(next_t + 1))
|
||||
elif action=="action_play_last":
|
||||
xml_file.write(str(total_t-1))
|
||||
xml_file.write(str(total_t))
|
||||
else:
|
||||
xml_file.write('1') # first
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue