From 637d210199ff9e2de506af30bdd713a8ad64fe53 Mon Sep 17 00:00:00 2001 From: Sergio Costas Date: Thu, 22 Jan 2015 00:38:29 +0100 Subject: [PATCH] Now jumps to the desired next video when the current movie ends and the creator set it to jump to another menu entry --- README.md | 3 +++ src/devede/configuration_data.py | 2 +- src/devede/dvdauthor_converter.py | 10 +++++----- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ffec678..5debcf2 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/src/devede/configuration_data.py b/src/devede/configuration_data.py index 98a9737..5ff59e5 100644 --- a/src/devede/configuration_data.py +++ b/src/devede/configuration_data.py @@ -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): diff --git a/src/devede/dvdauthor_converter.py b/src/devede/dvdauthor_converter.py index 127cee6..adc9f71 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(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