From 460e907cb911035c455a22fe203b39b63dc19b82 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 23 Mar 2002 11:37:28 +0100 Subject: [PATCH] Now writing the title of a recording into the 'summary.vdr' file --- HISTORY | 1 + recording.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/HISTORY b/HISTORY index 71e49afe..c0ae42ff 100644 --- a/HISTORY +++ b/HISTORY @@ -1127,3 +1127,4 @@ Video Disk Recorder Revision History Arnold Niessen, Paulo Lopes, Jean-Claude Repetto). - Improved file I/O in case of EINTR, which may occur e.g. with heavy system load (thanks to Werner Fink). +- Now writing the title of a recording into the 'summary.vdr' file. diff --git a/recording.c b/recording.c index 56ea0565..0121d6ce 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.57 2002/03/16 12:17:44 kls Exp $ + * $Id: recording.c 1.58 2002/03/23 11:32:33 kls Exp $ */ #include "recording.h" @@ -324,7 +324,7 @@ cRecording::cRecording(cTimer *Timer, const char *Title, const char *Subtitle, c if (isempty(Summary)) Summary = ""; if (*Subtitle || *Summary) - asprintf(&summary, "%s%s%s", Subtitle, (*Subtitle && *Summary) ? "\n\n" : "", Summary); + asprintf(&summary, "%s\n\n%s%s%s", Title, Subtitle, (*Subtitle && *Summary) ? "\n\n" : "", Summary); } }