diff options
author | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2000-05-27 18:00:00 +0200 |
---|---|---|
committer | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2000-05-27 18:00:00 +0200 |
commit | 9599a8fd8a6724e55ec4ad2ba2c975c0850073d9 (patch) | |
tree | a1bbeee86ba1066f1e15d8311714b895f4c7b9a2 /recording.c | |
parent | 85b8e41e8bb16e4e66561768026456ec5f0ee276 (diff) | |
download | vdr-patch-lnbsharing-9599a8fd8a6724e55ec4ad2ba2c975c0850073d9.tar.gz vdr-patch-lnbsharing-9599a8fd8a6724e55ec4ad2ba2c975c0850073d9.tar.bz2 |
Version 0.05vdr-0.05
- Support for more than one DVB card.
- Simultaneous record and replay (with two DVB cards).
- Instant recordings no longer get the name "instant". They now get the name
of the channel, with a prepended '@' character.
- Timers that are not given an explicit Name now use the channel name with
a prepended '@' character.
- If an instant recording is currently active, the Main menu now contains
an option to stop that recording.
- Timers are now only processed when the Menu is not active. So after editing
a timer the effect will take place only after the menu has been closed.
In order to avoid missing a timer event by inadvertently leaving the menu
open, the menu will be closed automatically after about two minutes of
inactivity.
- If a recording is currently being replayed, the Main menu now contains an
option to stop replaying.
- Displaying the recording DVB interface status in the decimal points of the
RCU display.
- Reduced the number of remote control keys. Modified the key assignments for
the PC keyboard to better resemble the "up-down-left-right-ok" layout on
menu controlling remote control units.
Diffstat (limited to 'recording.c')
-rw-r--r-- | recording.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recording.c b/recording.c index 46fe53f..2eba90b 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.6 2000/04/24 09:45:13 kls Exp $ + * $Id: recording.c 1.8 2000/05/13 16:16:56 kls Exp $ */ #define _GNU_SOURCE @@ -61,8 +61,7 @@ void AssertFreeDiskSpace(void) // it will get removed during the next call. static time_t LastFreeDiskCheck = 0; if (time(NULL) - LastFreeDiskCheck > DISKCHECKDELTA) { - LastFreeDiskCheck = time(NULL); - if (DvbApi.Recording() && LowDiskSpace()) { + if (LowDiskSpace()) { // Remove the oldest file that has been "deleted": cRecordings Recordings; if (Recordings.Load(true)) { @@ -97,6 +96,7 @@ void AssertFreeDiskSpace(void) // Unable to free disk space, but there's nothing we can do about that... esyslog(LOG_ERR, "low disk space, but no recordings to delete"); } + LastFreeDiskCheck = time(NULL); } } |