diff options
author | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2000-11-01 18:00:00 +0100 |
---|---|---|
committer | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2000-11-01 18:00:00 +0100 |
commit | a69b3211dc4f9b34eef440067d5ba304fbfbad94 (patch) | |
tree | 7701ccce8cef832eb5ab56293a7ae99aca40b78e /recording.c | |
parent | a379eb714f7f5ef9a12efbe7588bb3509faba056 (diff) | |
download | vdr-patch-lnbsharing-a69b3211dc4f9b34eef440067d5ba304fbfbad94.tar.gz vdr-patch-lnbsharing-a69b3211dc4f9b34eef440067d5ba304fbfbad94.tar.bz2 |
Version 0.67vdr-0.67
- The EIT information is now gathered in a separate thread.
- The sytem time can now be synchronized to the time broadcast in the DVB data
stream. This can be enabled in the "Setup" menu by setting "SetSystemTime" to
1. Note that this works only if VDR is running under a user id that has
permisson to set the system time.
- The new item "Schedule" in the "Main" menu opens VDR's EPG (thanks to Robert
Schneider). See the MANUAL file for a detailed description.
- The new setup parameters MarginStart and MarginStop define how long (in
minutes) before the official start time of a broadcast VDR shall begin
recording, and how long after the official end time it shall stop recording.
These are used when a recording is programmed from the "Schedules" menu.
- The delay value in the dvb.c.071.diff patch to the driver has been increased
to '3', because on some systems the OSD was not displayed correctly. If you
are running an already patched version 0.71 driver and encounter problems
with the OSD, please make sure the parameter in the ddelay call is '3', not
'2'.
- Fixed initializing the RCU remote control code (didn't work after switching
on the system).
- Problematic characters in recording names (which can come from timers that
are programmed via the "Schedules" menu) are now replaced by suitable
substitutes.
Diffstat (limited to 'recording.c')
-rw-r--r-- | recording.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/recording.c b/recording.c index f9ab016..3ddf8d3 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.19 2000/10/08 12:20:53 kls Exp $ + * $Id: recording.c 1.20 2000/11/01 16:00:36 kls Exp $ */ #define _GNU_SOURCE @@ -86,6 +86,13 @@ cRecording::cRecording(cTimer *Timer) titleBuffer = NULL; fileName = NULL; name = strdup(Timer->file); + // substitute characters that would cause problems in file names: + for (char *p = name; *p; p++) { + switch (*p) { + case '\n': *p = ' '; break; + case '/': *p = '-'; break; + } + } summary = Timer->summary ? strdup(Timer->summary) : NULL; if (summary) strreplace(summary, '|', '\n'); |