[vdr] plachty

2007-07-16 Thread Vladimír Bárta
http://www.modellmarine.de/phpwebsite/index.php?module=pagemaster&PAGE_user_ op=view_page&PAGE_id=766&MMN_position=272:272 ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[vdr] How to compute length of a recording?

2007-07-16 Thread Dirk
Hello, how do I get the duration in a shell script? The following code does not always compute the correct value: sumlen=0 for i in "$recdir"/0*.vdr ; do # length in sec. in ID_LENGTH ergebnis=$(/usr/local/bin/midentify "$i") eval $ergebnis sumlen=$(echo "scale=3 ; $sumlen + $ID_L

Re: [vdr] How to compute length of a recording?

2007-07-16 Thread Walter Koch
Moin, > how do I get the duration in a shell script? > The following code does not always compute the correct value According to the record-length-patch you can use the size of index.vdr. Divide the size of index.vdr by 200 and you get the run time in seconds. Each entry in index.vdr is 8 bytes

Re: [vdr] How to compute length of a recording?

2007-07-16 Thread Dirk
Walter Koch wrote: > Moin, > > >> how do I get the duration in a shell script? >> > So sth like > echo "$(stat -c %s index.vdr) / 200.0" | bc > would help you on a bash. > Thank you, very much. I am now using sumlen=$(echo "$(stat --format=%s "$recdir"/index.vdr) / 200" | bc) Dirk

Re: [vdr] VDR shutdown question

2007-07-16 Thread Norbert Goebel
Friedhelm Büscher schrieb: > simply write an intelligent shutdownscript. > > > mine does: > > (only snippets) > > if [ "`ps aux | grep noad | grep -v 'grep noad'`" != "" ]; then > logger -t vdr "not shutting down, noad is running" > > if [ "`smbstatus -p | grep -c 192.168.42`" != "0" ]; then >

Re: [vdr] VDR shutdown question

2007-07-16 Thread Friedhelm Büscher
Norbert Goebel wrote: > as always it's a problem of knowing how to do what you want to do. > I for example am trying and trying to get rid of the onscreen message > "Taste drücken, um Ausschalten abzubrechen" automatically, but somehow > commands like > $svdrpsend HITK Ok > /dev/nulll & > with s

[vdr] EPG: Events with same on different channels?

2007-07-16 Thread Friedhelm Büscher
Hi everybody. I wonder, if (according to vdr.5) must be uniq among *all* events known to vdr or only among the events of the current channel? Is it valid to have a of 4711 for "ard" and a of 4711 for "zdf"? Or will these both events clash? regards, Friedhelm. _

Re: [vdr] VDR shutdown question

2007-07-16 Thread Norbert Goebel
Norbert Goebel schrieb: > Hi, > > as always it's a problem of knowing how to do what you want to do. > I for example am trying and trying to get rid of the onscreen message > "Taste drücken, um Ausschalten abzubrechen" automatically, but somehow > commands like > $svdrpsend HITK Ok > /dev/nulll &

Re: [vdr] VDR shutdown question

2007-07-16 Thread Norbert Goebel
Friedhelm Büscher schrieb: > > let me guess: it gets a timeout? VDR is busy waiting for the shutdownscript > to return, so > no new svdr-connection is accepted. Spawn the svdrpsend (with at, if you > like) and your > problems will vanish. > > Sorry, but you guessed wrong ;) Like written before

Re: [vdr] EPG: Events with same on different channels?

2007-07-16 Thread Dave P
On Monday 16 Jul 2007, Friedhelm Büscher wrote: > Hi everybody. > > I wonder, if (according to vdr.5) must be uniq among *all* > events known to vdr or only among the events of the current channel? > > Is it valid to have a of 4711 for "ard" and a of > 4711 for "zdf"? Or will these both events c

Re: [vdr] vdr-burn dvdauthor crash

2007-07-16 Thread Christoph Haubrich
Leo Márquez schrieb: > Hi, > > After a lot of tests I have reached that I can't burn any vdr recordings > with vdr-burn plugin if I choose do a 'dvd with menus'. In dvd.log I see: > > dvdauthor -x dvd.xml > > segmentation fault > > If I run this command in shell I get same result, segmentatio

Re: [vdr] mplayer-plugin can't play h264 .ts file

2007-07-16 Thread Igor
> You should try to run 'mplayer -identify -frames 0 /your/h264-video.ts' > and look for ID_VIDEO_WIDTH and ID_VIDEO_HEIGHT. If you can't find this > output or if it is 0, try it once again with '-frames 10'. If this still > doesn't show the desired output, please take it to the mplayer > developer