diff --git a/autopost/posteur.sh b/autopost/posteur.sh index cce8e90..66a1f25 100644 --- a/autopost/posteur.sh +++ b/autopost/posteur.sh @@ -51,7 +51,7 @@ do if [ -e "${DOSSIER_NFO}""${FILESANSEXT}".json ]; then echo -e ${JAUNE}"VERIF DU NZB"${NORMAL} - nzbsizebit=$(php ${ANALYZER} ${DOSSIER_NZB_ATTENTE}${FILESANSEXT}.nzb | jq '.Taillebit') + nzbsizebit=$(bash ${ANALYZER} ${DOSSIER_NZB_ATTENTE}${FILESANSEXT}.nzb | jq '.Taillebit') echo -e "NZB_SIZE :"${nzbsizebit} jsonsizebit=$(cat ${DOSSIER_NFO}${FILESANSEXT}.json | jq -r '.media.track[] | select(.["@type"] == "General") | .FileSize') echo -e "MEDIAINFO_SIZE :"${jsonsizebit}