[ANNOUNCE] runvdr extreme

Message ID 452AA71C.7030908@bieringer.de
State New
Headers

Commit Message

Peter Bieringer Oct. 9, 2006, 7:46 p.m. UTC
  Hi Udo,

Udo Richter schrieb:
> Hi list,
> 
> I've released the first release of my runvdr-extreme package.

Thank you for the nice script.

One fix is necessary:



I found only one major difference to the one I've created over time: my
script reboots the system if vdr won't proper start 3 times, perhaps you
can add such feature, currently your script tries 5 times, then reload
modules. Perhaps you could add a toggle to reboot, if reload of modules
fails 3 times.

Regards,
	Peter
  

Comments

Udo Richter Oct. 10, 2006, 1:14 a.m. UTC | #1
Peter Bieringer wrote:
> Thank you for the nice script.
> 
> One fix is necessary:
> 
> -    [ -n "$VFAT"      ] && VDRCMD="$VDRCMD -v"
> +    [ -n "$VFAT"      ] && VDRCMD="$VDRCMD --vfat"


Hmm, you're right. Thanks. I've missed that because my VDR is switched 
to vfat on build time.

> I found only one major difference to the one I've created over time: my
> script reboots the system if vdr won't proper start 3 times, perhaps you
> can add such feature

Maybe optionally, I'll think about it.

Cheers,

Udo
  
C.Y.M Oct. 10, 2006, 6:02 a.m. UTC | #2
Udo Richter wrote:
> Peter Bieringer wrote:
>> Thank you for the nice script.
>>
>> One fix is necessary:
>>
>> -    [ -n "$VFAT"      ] && VDRCMD="$VDRCMD -v"
>> +    [ -n "$VFAT"      ] && VDRCMD="$VDRCMD --vfat"
> 
> 
> Hmm, you're right. Thanks. I've missed that because my VDR is switched
> to vfat on build time.
> 
>> I found only one major difference to the one I've created over time: my
>> script reboots the system if vdr won't proper start 3 times, perhaps you
>> can add such feature
> 
> Maybe optionally, I'll think about it.
> 

I also have a suggestion.  It is nice to have vdr startup in a screen session
when working remotely.

I'm using something like this:

eval "screen -D -m -S vdr $VDRCMD &"

This starts a screen in detached mode called "vdr" and keeps the same PID.  When
logging in remotely to the machine, vdr can be monitored by typing "sudo screen
-r vdr".  To detach, type: ctrl+a d

Regards.
  
Suur Karu Oct. 10, 2006, 9:16 a.m. UTC | #3
Nice script, but one question.
After starting 'runvdr&' file with name '-' is created with content:
/bin/setterm

For what is it?


Regards,
SK
  
Udo Richter Oct. 10, 2006, 12:13 p.m. UTC | #4
C.Y.M wrote:
> I'm using something like this:
> 
> eval "screen -D -m -S vdr $VDRCMD &"

This should work:

WRAPPER="screen -D -m -S vdr"

Or this:

runvdr --wrapper="screen -D -m -S vdr"

Cheers,

Udo
  
dvb Oct. 18, 2006, 9:57 p.m. UTC | #5
In DVB-S and DVB-T
LUXE TV HD:11240:v:S13.0E:27500:0:36,37:0:0:13809:0:0:0
VPID is 33
  

Patch

--- runvdr.orig 2006-10-09 21:30:47.000000000 +0200
+++ runvdr      2006-10-09 21:30:56.000000000 +0200
@@ -413,7 +413,7 @@ 
     [ -n "$SHUTDOWN"  ] && VDRCMD="$VDRCMD -s \"$SHUTDOWN\""
     [ -n "$TERMINAL"  ] && VDRCMD="$VDRCMD -t \"$TERMINAL\""
     [ -n "$VDRUSER"   ] && VDRCMD="$VDRCMD -u \"$VDRUSER\""
-    [ -n "$VFAT"      ] && VDRCMD="$VDRCMD -v"
+    [ -n "$VFAT"      ] && VDRCMD="$VDRCMD --vfat"
     [ -n "$VIDEODIR"  ] && VDRCMD="$VDRCMD -v \"$VIDEODIR\""
     [ -n "$WATCHDOG"  ] && VDRCMD="$VDRCMD -w $WATCHDOG"