summaryrefslogtreecommitdiff
path: root/cutter.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-04-11 12:12:43 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2015-04-11 12:12:43 +0200
commit38ee88e5ee4c412cbd1f71dde672acdcd6f35d06 (patch)
tree648141040d03b686596bf834f0c7e01cfd206dd9 /cutter.c
parent7d4907507916b555ae8cdd33f9741ed7ae704ad7 (diff)
downloadvdr-38ee88e5ee4c412cbd1f71dde672acdcd6f35d06.tar.gz
vdr-38ee88e5ee4c412cbd1f71dde672acdcd6f35d06.tar.bz2
The script that gets called for recordings is now also called right before a recording is edited
Diffstat (limited to 'cutter.c')
-rw-r--r--cutter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cutter.c b/cutter.c
index 9aee66b9..55a3cd4d 100644
--- a/cutter.c
+++ b/cutter.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: cutter.c 3.4 2013/10/02 13:18:02 kls Exp $
+ * $Id: cutter.c 4.1 2015/04/11 12:03:25 kls Exp $
*/
#include "cutter.h"
@@ -675,6 +675,7 @@ bool cCutter::Start(void)
editedVersionName = EditedFileName(originalVersionName);
if (*editedVersionName) {
if (strcmp(originalVersionName, editedVersionName) != 0) { // names must be different!
+ cRecordingUserCommand::InvokeCommand(RUC_EDITINGRECORDING, editedVersionName, originalVersionName);
if (cVideoDirectory::RemoveVideoFile(editedVersionName) && MakeDirs(editedVersionName, true)) {
Recording.WriteInfo(editedVersionName);
Recordings.AddByName(editedVersionName, false);