Al 10/10/10 00:25, En/na Luca Olivetti ha escrit:
Al 09/10/10 23:23, En/na Gregoire Favre ha escrit:
On Sat, Oct 09, 2010 at 10:43:10PM +0200, Luca Olivetti wrote:
Yes, but I could only test it with plain dvb-s, no dvb-s2.
Also, it doesn't to a blind scan, it needs a transponder.ini file for
each satellite that you want to scan.
You can download those file, e.g, from
http://www.fastsatfinder.com/transponders.html#transponders-sorted
Strange, I tried to start it with :
./vdr -c /etc/vdr -w 90 -l 3 -s 'sudo /usr/local/bin/vdrpoweroff.sh'
-P'xine -r' -P'actuator -s'
But nothing happen (and no vdr runs) : isn't that the right way to start
it ?
Anything in the logs?
Oh, I know what happened :-(
Try the attached patch.
Bye
--
Luca
diff -r 3ba203b62f5d actuator.c
--- a/actuator.c Sat Oct 09 17:31:56 2010 +0200
+++ b/actuator.c Sun Oct 10 00:38:08 2010 +0200
@@ -1738,13 +1738,6 @@ cPluginActuator::cPluginActuator(void)
// VDR OBJECTS TO EXIST OR PRODUCE ANY OUTPUT!
statusMonitor = NULL;
PosTracker = NULL;
- if (!ScanOnly) {
- fd_actuator = open("/dev/actuator",0);
- if (fd_actuator<0) {
- esyslog("cannot open /dev/actuator");
- exit(1);
- }
- }
cThemes::Save("actuator", &Theme);
}
@@ -1805,8 +1798,14 @@ bool cPluginActuator::Initialize(void)
bool cPluginActuator::Initialize(void)
{
// Initialize any background activities the plugin shall perform.
- if (!ScanOnly)
+ if (!ScanOnly) {
+ fd_actuator = open("/dev/actuator",0);
+ if (fd_actuator<0) {
+ esyslog("cannot open /dev/actuator");
+ return false;
+ }
PosTracker=new cPosTracker();
+ }
return true;
}
_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr