From bff4529f013605e0456fa12e4c0468ffafaa4289 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 7 Sep 2003 18:00:00 +0200 Subject: Version 1.2.5pre2 - Updated VIVA, VIVA Plus, MTV Central and MTV 2 in channels.conf (thanks to Sebastian Frei). - Changed "Studio Universal" to "Sci-Fi" in channels.conf. - Fixed a crash when using the --terminal option without having access to the given terminal (thanks to Steffen Barszus for helping to debug this one). - Added a note about the driver version needed for the still picture fix from version 1.2.5pre1 to work properly (thanks to Oliver Endriss for pointing this out). - Fixed setting the primary device in case none of the devices provides an MPEG decoder (thanks to Rene Bartsch for reporting this one). - Fixed handling the "Red" button in the "Schedules" menu in case there are no events listed for a particular channel (thanks to Christoph Hermanns for reporting this one). - When setting an editing mark while in "Pause" mode, replay now immediately jumps to the marked frame (thanks to Oskar Signell for pointing out this problem). - The DVB devices no longer send CA descriptors to the CAM while the EPG scanner is active (sometimes the CAMs got irritated when the device tuned to channels they couldn't handle). --- vdr.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'vdr.c') diff --git a/vdr.c b/vdr.c index 9c54e3a..cdc460e 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.166 2003/08/24 11:18:04 kls Exp $ + * $Id: vdr.c 1.168 2003/09/05 13:14:16 kls Exp $ */ #include @@ -199,6 +199,10 @@ int main(int argc, char *argv[]) case 's': Shutdown = optarg; break; case 't': Terminal = optarg; + if (access(Terminal, R_OK | W_OK) < 0) { + fprintf(stderr, "vdr: can't access terminal: %s\n", Terminal); + return 2; + } break; case 'V': DisplayVersion = true; break; @@ -383,7 +387,7 @@ int main(int argc, char *argv[]) const char *msg = "no primary device found - using first device!"; fprintf(stderr, "vdr: %s\n", msg); esyslog("ERROR: %s", msg); - if (!cDevice::SetPrimaryDevice(0)) + if (!cDevice::SetPrimaryDevice(1)) return 2; if (!cDevice::PrimaryDevice()) { const char *msg = "no primary device found - giving up!"; -- cgit v1.2.3