Ver código fonte

Create thumb for second picture

tags/v1.7
Nico Rey 3 anos atrás
pai
commit
3c50ace54a
1 arquivos alterados com 1 adições e 0 exclusões
  1. +1
    -0
      receive_iss.sh

+ 1
- 0
receive_iss.sh Ver arquivo

@@ -47,6 +47,7 @@ if [ -f "$NOAA_HOME/demod.py" ]; then
if [ "$img_count" -eq 1 ]; then
python3 "${NOAA_HOME}/post.py" "$1 ${START_DATE} Resolución completa: https://weather.reyni.co/detail.php?id=$pass_id" "$7" "${NOAA_OUTPUT}/images/${3}-0.png"
elif [ "$img_count" -eq 2 ]; then
/usr/bin/convert -thumbnail 300 "${NOAA_OUTPUT}/images/${3}-1.png" "${NOAA_OUTPUT}/images/thumb/${3}-1.png"
python3 "${NOAA_HOME}/post.py" "$1 ${START_DATE} Mas imagenes: https://weather.reyni.co/detail.php?id=$pass_id" "$7" "${NOAA_OUTPUT}/images/${3}-0.png" "${NOAA_OUTPUT}/images/${3}-1.png"
fi
fi


Carregando…
Cancelar
Salvar