summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-09-01 13:38:09 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-09-01 13:38:09 +0200
commit7fd56f7d6fc62540ae6c3ff2b0b7ef5c79b00974 (patch)
tree0206d29bd3f2599bdf46ff563f6b6e7bba68a785 /recording.c
parentba409a203a736ed3dfce5b5082e1eb0c803f6450 (diff)
downloadvdr-7fd56f7d6fc62540ae6c3ff2b0b7ef5c79b00974.tar.gz
vdr-7fd56f7d6fc62540ae6c3ff2b0b7ef5c79b00974.tar.bz2
Copying summary info when cutting a recording
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/recording.c b/recording.c
index 0190d108..ba063fb9 100644
--- a/recording.c
+++ b/recording.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: recording.c 1.33 2001/08/12 15:09:59 kls Exp $
+ * $Id: recording.c 1.34 2001/09/01 13:05:56 kls Exp $
*/
#define _GNU_SOURCE
@@ -311,6 +311,17 @@ const char *cRecording::Title(char Delimiter, bool NewIndicator)
return titleBuffer;
}
+const char *cRecording::PrefixFileName(char Prefix)
+{
+ const char *p = PrefixVideoFileName(FileName(), Prefix);
+ if (p) {
+ delete fileName;
+ fileName = strdup(p);
+ return fileName;
+ }
+ return NULL;
+}
+
bool cRecording::WriteSummary(void)
{
if (summary) {