summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <kls (at) cadsoft (dot) de>2003-08-26 18:00:00 +0200
committerKlaus Schmidinger <kls (at) cadsoft (dot) de>2003-08-26 18:00:00 +0200
commitfc9c149eb96f7a949c2f183693e4df15abe8dc4b (patch)
tree8bf7f7c75bc80efe79e7a74ff0af67ef710527cb
parent5f5dfd7f69963abcdcceed88e649c83e6ea5709e (diff)
downloadvdr-patch-lnbsharing-fc9c149eb96f7a949c2f183693e4df15abe8dc4b.tar.gz
vdr-patch-lnbsharing-fc9c149eb96f7a949c2f183693e4df15abe8dc4b.tar.bz2
Version 1.2.4 (not officially released)vdr-1.2.4
- Fixed 'runvdr' to stay in the loop only if VDR returns an exit status of '1'. - Completed the Finnish OSD texts (thanks to Rolf Ahrenberg). - Empty values in setup.conf are no longer treated as an error (thanks to Andreas Kool for reporting this one). - Added a note about the config files of plugins to INSTALL (thanks to Thomas Keil). - VDR now continues to start up, even if there is an error in setup.conf. - Fixed a bug in resetting OSD color palettes (thanks to Torsten Herz). - Fixed starting a recording on the primary device if there is a replay session active (thanks to Javier Marcet for reporting this one). - Avoiding an unnecessary stop of an ongoing Transfer Mode when starting a recording on the primary device.
-rw-r--r--CONTRIBUTORS7
-rw-r--r--HISTORY17
-rw-r--r--INSTALL7
-rw-r--r--config.c4
-rw-r--r--config.h6
-rw-r--r--dvbdevice.c7
-rw-r--r--i18n.c6
-rw-r--r--menu.c5
-rw-r--r--osdbase.c4
-rwxr-xr-xrunvdr4
-rw-r--r--vdr.c6
11 files changed, 50 insertions, 23 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index aee4131..ea52b1f 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -559,6 +559,7 @@ Régis Bossut <rbossut@auchan.com>
Andreas Kool <akool@akool.de>
for his help in keeping 'channels.conf.cable' up to date
for fixing the TS to PES repacker so that it works with MPEG1 streams
+ for reporting a problem with empty values in setup.conf
Guy Roussin <guy.roussin@teledetection.fr>
for suggesting not to display channel group delimiters without text
@@ -621,6 +622,7 @@ Torsten Herz <torsten.herz@web.de>
for fixing a possible deadlock when using the "Blue" button in the "Schedules" menu
to switch to an other channel
for reporting a wrong EPG bugfix code number for the MAX_USEFUL_SUBTITLE_LENGTH fix
+ for fixing a bug in resetting OSD color palettes
Steffen Becker <stbecker@rbg.informatik.tu-darmstadt.de>
for reporting a problem with CPU load peaks (in the EPG scanner)
@@ -748,6 +750,7 @@ Thomas Keil <tk@commedia-group.com>
that a channel only qualifies as "previous" if it has been selected for at least
3 seconds
for reporting a bug in handling the color buttons in the "Edit channel" menu
+ for adding a note about the config files of plugins to INSTALL
Kenneth Aafløy <ke-aa@frisurf.no>
for fixing checking CA capabilities with the dvb-kernel driver
@@ -767,3 +770,7 @@ Richard Robson <richard_robson@beeb.net>
Manfred Schmidt-Voigt <manfred.schmidt-voigt@mannitec.de>
for reporting a problem with runnign out of disk space while cutting in case
there are still deleted recordings to remove
+
+Javier Marcet <lists@marcet.info>
+ for reporting a problem when starting a recording on the primary device if there
+ is a replay session active
diff --git a/HISTORY b/HISTORY
index 1f2b712..0485998 100644
--- a/HISTORY
+++ b/HISTORY
@@ -2283,7 +2283,7 @@ Video Disk Recorder Revision History
or Makefile.config as defaults (thanks to Steffen Barszus).
- Added the usual menu timeout to the CAM menus.
-2003-08-17: Version 1.2.3
+2003-08-17: Version 1.2.3 (not officially released)
- Fixed the TS to PES repacker so that it works with MPEG1 streams (thanks to
Andreas Kool).
@@ -2314,3 +2314,18 @@ Video Disk Recorder Revision History
(suggested by Helmut Auer).
- Removing deleted recordings faster than normal when cutting, to avoid running
out of disk space (thanks to Manfred Schmidt-Voigt for reporting this one).
+
+2003-08-24: Version 1.2.4
+
+- Fixed 'runvdr' to stay in the loop only if VDR returns an exit status of '1'.
+- Completed the Finnish OSD texts (thanks to Rolf Ahrenberg).
+- Empty values in setup.conf are no longer treated as an error (thanks to Andreas
+ Kool for reporting this one).
+- Added a note about the config files of plugins to INSTALL (thanks to Thomas
+ Keil).
+- VDR now continues to start up, even if there is an error in setup.conf.
+- Fixed a bug in resetting OSD color palettes (thanks to Torsten Herz).
+- Fixed starting a recording on the primary device if there is a replay session
+ active (thanks to Javier Marcet for reporting this one).
+- Avoiding an unnecessary stop of an ongoing Transfer Mode when starting a
+ recording on the primary device.
diff --git a/INSTALL b/INSTALL
index 2bae8e8..3143723 100644
--- a/INSTALL
+++ b/INSTALL
@@ -302,8 +302,11 @@ Configuration files:
There are several configuration files that hold information about
channels, remote control keys, timers etc. By default these files are
assumed to be located in the video directory, but a different directory
-can be used with the '-c' option. For starters just copy all *.conf files from
-the VDR directory into your video directory.
+can be used with the '-c' option. Plugins assume their configuration files
+in a subdirectory called "plugins" of this directory.
+
+For starters just copy all *.conf files from the VDR directory into your
+video directory.
The configuration files can be edited with any text editor, or will be written
by the 'vdr' program if any changes are made inside the on-screen menus.
diff --git a/config.c b/config.c
index 924a70e..0ef2d57 100644
--- a/config.c
+++ b/config.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: config.c 1.115 2003/08/17 08:47:41 kls Exp $
+ * $Id: config.c 1.116 2003/08/24 11:00:24 kls Exp $
*/
#include "config.h"
@@ -215,7 +215,7 @@ bool cSetupLine::Parse(char *s)
*p = 0;
char *Name = compactspace(s);
char *Value = compactspace(p + 1);
- if (*Name && *Value) {
+ if (*Name) { // value may be an empty string
p = strchr(Name, '.');
if (p) {
*p = 0;
diff --git a/config.h b/config.h
index f7eb28e..8df5929 100644
--- a/config.h
+++ b/config.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: config.h 1.168 2003/08/17 08:46:34 kls Exp $
+ * $Id: config.h 1.169 2003/08/24 10:52:20 kls Exp $
*/
#ifndef __CONFIG_H
@@ -19,8 +19,8 @@
#include "device.h"
#include "tools.h"
-#define VDRVERSION "1.2.3"
-#define VDRVERSNUM 10203 // Version * 10000 + Major * 100 + Minor
+#define VDRVERSION "1.2.4"
+#define VDRVERSNUM 10204 // Version * 10000 + Major * 100 + Minor
#define MAXPRIORITY 99
#define MAXLIFETIME 99
diff --git a/dvbdevice.c b/dvbdevice.c
index 34d5582..fe6c951 100644
--- a/dvbdevice.c
+++ b/dvbdevice.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbdevice.c 1.61 2003/08/15 13:03:41 kls Exp $
+ * $Id: dvbdevice.c 1.62 2003/08/24 14:23:12 kls Exp $
*/
#include "dvbdevice.h"
@@ -613,13 +613,12 @@ bool cDvbDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *Ne
{
bool result = false;
bool hasPriority = Priority < 0 || Priority > this->Priority();
- bool needsDetachReceivers = true;
+ bool needsDetachReceivers = false;
if (ProvidesSource(Channel->Source()) && ProvidesCa(Channel->Ca())) {
result = hasPriority;
if (Receiving()) {
if (dvbTuner->IsTunedTo(Channel)) {
- needsDetachReceivers = false;
if (!HasPid(Channel->Vpid())) {
#ifdef DO_MULTIPLE_RECORDINGS
if (Channel->Ca() > CACONFBASE)
@@ -636,6 +635,8 @@ bool cDvbDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *Ne
else
result = !IsPrimaryDevice() || Priority >= Setup.PrimaryLimit;
}
+ else
+ needsDetachReceivers = true;
}
}
if (NeedsDetachReceivers)
diff --git a/i18n.c b/i18n.c
index 253e278..4c9d6a3 100644
--- a/i18n.c
+++ b/i18n.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: i18n.c 1.130 2003/08/17 08:53:24 kls Exp $
+ * $Id: i18n.c 1.131 2003/08/24 10:52:08 kls Exp $
*
* Translations provided by:
*
@@ -79,7 +79,7 @@ const tI18nPhrase Phrases[] = {
"Português",
"Français",
"Norsk",
- "suomi",
+ "Suomi",
"Polski",
"Español",
"Ellinika",
@@ -2671,7 +2671,7 @@ const tI18nPhrase Phrases[] = {
"",// TODO
"",// TODO
"",// TODO
- "",// TODO
+ "Kanavavalinnan odotusaika (s)",
"",// TODO
"",// TODO
"",// TODO
diff --git a/menu.c b/menu.c
index e3b3207..9cfd7c8 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 1.268 2003/08/17 08:52:07 kls Exp $
+ * $Id: menu.c 1.269 2003/08/24 14:28:44 kls Exp $
*/
#include "menu.h"
@@ -25,6 +25,7 @@
#include "sources.h"
#include "status.h"
#include "timers.h"
+#include "transfer.h"
#include "videodir.h"
#define MENUTIMEOUT 120 // seconds
@@ -3102,7 +3103,7 @@ bool cRecordControls::Start(cTimer *Timer, bool Pause)
if (device) {
if (NeedsDetachReceivers) {
Stop(device);
- if (device == cDevice::ActualDevice())
+ if (device == cTransferControl::ReceiverDevice())
cControl::Shutdown(); // in case this device was used for Transfer Mode
}
if (!device->SwitchChannel(channel, false)) {
diff --git a/osdbase.c b/osdbase.c
index 0c0e898..98cae82 100644
--- a/osdbase.c
+++ b/osdbase.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: osdbase.c 1.9 2003/08/15 13:47:51 kls Exp $
+ * $Id: osdbase.c 1.10 2003/08/24 11:38:27 kls Exp $
*/
#include "osdbase.h"
@@ -70,7 +70,7 @@ int cPalette::Index(eDvbColor Color)
void cPalette::Reset(void)
{
for (int i = 0; i < numColors; i++)
- used[i] = false;
+ used[i] = fetched[i] = false;
full = false;
}
diff --git a/runvdr b/runvdr
index 13ee732..6fdd13e 100755
--- a/runvdr
+++ b/runvdr
@@ -18,7 +18,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
-# $Id: runvdr 1.9 2002/03/16 16:22:12 kls Exp $
+# $Id: runvdr 1.10 2003/08/17 14:27:31 kls Exp $
DVBDIR="../DVB/driver"
VDRPRG="./vdr"
@@ -34,7 +34,7 @@ if [ $LSMOD -eq 0 ] ; then
while (true) do
su -c "$VDRCMD" $VDRUSR
- if test $? -eq 0; then exit; fi
+ if test $? -ne 1; then exit; fi
date
echo "restarting VDR"
$KILL $VDRPRG
diff --git a/vdr.c b/vdr.c
index 48ed627..9c54e3a 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/vdr
*
- * $Id: vdr.c 1.165 2003/08/17 08:50:25 kls Exp $
+ * $Id: vdr.c 1.166 2003/08/24 11:18:04 kls Exp $
*/
#include <getopt.h>
@@ -340,8 +340,8 @@ int main(int argc, char *argv[])
cPlugin::SetConfigDirectory(ConfigDirectory);
- if (!(Setup.Load(AddDirectory(ConfigDirectory, "setup.conf")) &&
- Sources.Load(AddDirectory(ConfigDirectory, "sources.conf"), true, true) &&
+ Setup.Load(AddDirectory(ConfigDirectory, "setup.conf"));
+ if (!(Sources.Load(AddDirectory(ConfigDirectory, "sources.conf"), true, true) &&
Diseqcs.Load(AddDirectory(ConfigDirectory, "diseqc.conf"), true, true) &&
Channels.Load(AddDirectory(ConfigDirectory, "channels.conf"), false, true) &&
Timers.Load(AddDirectory(ConfigDirectory, "timers.conf")) &&