Hallo n'Abend!
Mich treibt seit Wochen ein Fehler im Image-plugin um, für den ich keine Lösung finde. Ich bitte um Hilfe:
Mein Fehler: image plugin - 0.2.3-3 (tobi - sarge - testing / vdr - 1.2.6-27 und (!) vdrdevel - 1.3.17-9) zeigt keine Bilder an:
*.pnm - files werden im /tmp/image - Verzeichnis erstellt (pnm-tools ? files sind inst.).
Leider kann ich aus der DEBUG-Anzeige keinen Fehler erkennen (siehe unten). imageplugin.sh beendet sich ja auch mit "Success!..." und "exit 0".
Deshalb die Frage:
Wie ist der Ablauf der Anzeige nach Erstellen der *.pnm - Datei durch das image-plugin ?
Welche Funktion/Datei wird zur Anzeige der *.pnm - Datei aufgerufen?
Oder läuft die Anzeige der Bilder schon während imageplugin.sh am Wirken ist ? Was ist dann falsch gelaufen?
Bitte um Antwort, da ich auch im Portal keinen Hinweis gefunden habe. Danke!
-> Durch tobi's Umstellung von testing auf stable muß ich meinen Beitrag noch mal korrigieren: ich beziehe mich auf die vorher testing - jetzt stable Version d.h. im root-Betrieb !
DEBUG -Anzeige:
May 19 23:52:57 vdr imageplugin.sh: + '[' zyes = zyes ']'
May 19 23:52:57 vdr imageplugin.sh: + echo 'called '\''imageplugin.sh /tmp/image/V3UugSs.pnm /tmp/image/Vzg9zRj.pnm 688 544 0 0 0'\'''
May 19 23:52:57 vdr imageplugin.sh: called 'imageplugin.sh /tmp/image/V3UugSs.pnm /tmp/image/Vzg9zRj.pnm 688 544 0 0 0'
May 19 23:52:57 vdr imageplugin.sh: + '[' 7 -lt 7 ']'
May 19 23:52:57 vdr imageplugin.sh: + ASPECT_RATIO=4:3
May 19 23:52:57 vdr imageplugin.sh: + REQUIREMENTS=anytopnm pnmscale pnmfile pnmcut pnmflip
May 19 23:52:57 vdr imageplugin.sh: + type anytopnm
May 19 23:52:57 vdr imageplugin.sh: + '[' 0 -ne 0 ']'
May 19 23:52:57 vdr imageplugin.sh: + type pnmscale
May 19 23:52:57 vdr imageplugin.sh: + '[' 0 -ne 0 ']'
May 19 23:52:57 vdr imageplugin.sh: + type pnmfile
May 19 23:52:57 vdr imageplugin.sh: + '[' 0 -ne 0 ']'
May 19 23:52:57 vdr imageplugin.sh: + type pnmcut
May 19 23:52:57 vdr imageplugin.sh: + '[' 0 -ne 0 ']'
May 19 23:52:57 vdr imageplugin.sh: + type pnmflip
May 19 23:52:57 vdr imageplugin.sh: + '[' 0 -ne 0 ']'
May 19 23:52:57 vdr imageplugin.sh: + INFILE=/tmp/image/V3UugSs.pnm
May 19 23:52:57 vdr imageplugin.sh: + OUTFILE=/tmp/image/Vzg9zRj.pnm
May 19 23:52:57 vdr imageplugin.sh: + OUT_DISPLAY_X=688
May 19 23:52:57 vdr imageplugin.sh: + OUT_DISPLAY_Y=544
May 19 23:52:57 vdr imageplugin.sh: + ZOOMFACTOR=0
May 19 23:52:57 vdr imageplugin.sh: + LEFTPOS=0
May 19 23:52:57 vdr imageplugin.sh: + TOPPOS=0
May 19 23:52:57 vdr imageplugin.sh: + FLIPCMD=
May 19 23:52:57 vdr imageplugin.sh: dirname "$OUTFILE"
May 19 23:52:57 vdr imageplugin.sh: ++ dirname /tmp/image/Vzg9zRj.pnm
May 19 23:52:57 vdr imageplugin.sh: + OUTDIR=/tmp/image
May 19 23:52:57 vdr imageplugin.sh: + '[' '!' -d /tmp/image ']'
May 19 23:52:57 vdr imageplugin.sh: + TMPFILE=/tmp/image/Vzg9zRj.pnm.tmp
May 19 23:52:57 vdr imageplugin.sh: + PARFILE=/tmp/image/Vzg9zRj.pnm.par
May 19 23:52:57 vdr imageplugin.sh: + '[' -s /tmp/image/Vzg9zRj.pnm -a '' '!=' '' ']'
May 19 23:52:57 vdr imageplugin.sh: + '[' -s /tmp/image/Vzg9zRj.pnm.tmp -a '' '!=' '' ']'
May 19 23:52:57 vdr imageplugin.sh: + '[' -s /tmp/image/Vzg9zRj.pnm ']'
May 19 23:52:57 vdr imageplugin.sh: + '[' '!' -s /tmp/image/Vzg9zRj.pnm.tmp ']'
May 19 23:52:57 vdr imageplugin.sh: + anytopnm /tmp/image/V3UugSs.pnm
May 19 23:52:57 vdr imageplugin.sh: + '[' -s /tmp/image/Vzg9zRj.pnm.tmp ']'
May 19 23:52:57 vdr imageplugin.sh: echo $( pnmfile < "$TMPFILE" -)
May 19 23:52:57 vdr imageplugin.sh: pnmfile < "$TMPFILE" -
May 19 23:52:57 vdr imageplugin.sh: +++ pnmfile -
May 19 23:52:57 vdr imageplugin.sh: ++ echo -: PPM raw, 688 by 516 maxval 255
May 19 23:52:57 vdr imageplugin.sh: + RES=-: PPM raw, 688 by 516 maxval 255
May 19 23:52:57 vdr imageplugin.sh: echo -e "$RES"| cut -d " " -f 4
May 19 23:52:57 vdr imageplugin.sh: ++ echo -e '-: PPM raw, 688 by 516 maxval 255'
May 19 23:52:57 vdr imageplugin.sh: ++ cut -d ' ' -f 4
May 19 23:52:57 vdr imageplugin.sh: + X_RES=688
May 19 23:52:57 vdr imageplugin.sh: echo -e "$RES"| cut -d " " -f 6
May 19 23:52:57 vdr imageplugin.sh: ++ echo -e '-: PPM raw, 688 by 516 maxval 255'
May 19 23:52:57 vdr imageplugin.sh: ++ cut -d ' ' -f 6
May 19 23:52:57 vdr imageplugin.sh: + Y_RES=516
May 19 23:52:57 vdr imageplugin.sh: + FLIP=cat
May 19 23:52:57 vdr imageplugin.sh: + echo 688 516 ''
May 19 23:52:57 vdr imageplugin.sh: + '[' 4:3 = 16:9 ']'
May 19 23:52:57 vdr imageplugin.sh: + SCALE_MIN_ASP=125
May 19 23:52:57 vdr imageplugin.sh: + SCALE_MAX_ASP=133
May 19 23:52:57 vdr imageplugin.sh: + '[' 0 -gt 0 ']'
May 19 23:52:57 vdr imageplugin.sh: + '[' 133 -lt 125 ']'
May 19 23:52:57 vdr imageplugin.sh: + '[' 133 -gt 133 ']'
May 19 23:52:57 vdr imageplugin.sh: + cat
May 19 23:52:57 vdr imageplugin.sh: + pnmscalefixed -xysize 688 544
May 19 23:52:57 vdr imageplugin.sh: + '[' zno = zno ']'
May 19 23:52:57 vdr imageplugin.sh: + rm -f /tmp/image/Vzg9zRj.pnm.tmp
May 19 23:52:57 vdr imageplugin.sh: + '[' -s /tmp/image/Vzg9zRj.pnm ']'
May 19 23:52:57 vdr imageplugin.sh: + '[' zyes = zyes ']'
May 19 23:52:57 vdr imageplugin.sh: + echo 'Success! Stopped with created /tmp/image/Vzg9zRj.pnm'
May 19 23:52:57 vdr imageplugin.sh: Success! Stopped with created /tmp/image/Vzg9zRj.pnm
May 19 23:52:57 vdr imageplugin.sh: + exit 0
May 19 23:52:57 vdr runvdrdevel: restarting VDR
...
May 19 23:53:05 vdr vdr[10342]: VDR version 1.3.17 started
...