summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
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) {