From 3fc454640da70a8a5a680d4ebc61341b776c8ed0 Mon Sep 17 00:00:00 2001 From: fred Date: Wed, 16 Nov 2022 00:29:08 +0100 Subject: [PATCH] -loglevel quiet --- ASTROBOT/G1CopierYoutube.sh | 6 +++++- ASTROBOT/VOEUX.refresh.sh | 2 +- templates/register.html | 6 +++--- tools/vlc_webcam.sh | 4 ++-- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/ASTROBOT/G1CopierYoutube.sh b/ASTROBOT/G1CopierYoutube.sh index 48ffffbd..2799fb75 100755 --- a/ASTROBOT/G1CopierYoutube.sh +++ b/ASTROBOT/G1CopierYoutube.sh @@ -38,6 +38,8 @@ tiddlywiki --load ${INDEX} \ --output ~/.zen/tmp/$WISHKEY \ --render '.' 'CopierYoutube.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[tag[CopierYoutube]]' +echo "cat ~/.zen/tmp/$WISHKEY/CopierYoutube.json" + ################################################################### ## TEXT TREATMENT ## For this TAG, specific extract URL from text field and copy all video from links into tid.json @@ -50,6 +52,8 @@ for YURL in $(cat ~/.zen/tmp/$WISHKEY/CopierYoutube.json | jq -r '.[].text' | gr done # FINISH YURL loop +echo "cat ~/.zen/tmp/$WISHKEY/ytids.$MOATS" + ################################################################### [[ ! -s ~/.zen/tmp/$WISHKEY/ytids.$MOATS ]] && echo "AUCUN YOUTUBEID pour CopierYoutube" && exit 0 ################################################################### @@ -92,7 +96,7 @@ while read YID; ############################################################################ ### CHECK RESULT CONVERT MKV TO MP4 - [[ ! -f "$HOME/.zen/tmp/$WISHKEY/$ZFILE" ]] && ffmpeg -i "$HOME/.zen/tmp/$WISHKEY/$TITLE.mkv" -c:v libx264 -c:a aac "$HOME/.zen/tmp/$WISHKEY/$TITLE.mp4" # TRY TO CONVERT MKV TO MP4 + [[ ! -f "$HOME/.zen/tmp/$WISHKEY/$ZFILE" ]] && ffmpeg -loglevel quiet -i "$HOME/.zen/tmp/$WISHKEY/$TITLE.mkv" -c:v libx264 -c:a aac "$HOME/.zen/tmp/$WISHKEY/$TITLE.mp4" # TRY TO CONVERT MKV TO MP4 [[ ! -f "$HOME/.zen/tmp/$WISHKEY/$ZFILE" ]] && echo "No FILE -- CONTINUE --" && continue echo diff --git a/ASTROBOT/VOEUX.refresh.sh b/ASTROBOT/VOEUX.refresh.sh index 34406a42..0270ac22 100755 --- a/ASTROBOT/VOEUX.refresh.sh +++ b/ASTROBOT/VOEUX.refresh.sh @@ -45,7 +45,7 @@ tiddlywiki --load ${INDEX} --output ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/g1voeu -- [[ ! -s ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/g1voeu/${PLAYER}.g1voeu.json ]] && echo "AUCUN G1VOEU - EXIT -" && exit 1 cat ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/g1voeu/${PLAYER}.g1voeu.json | jq -r '.[].wish' > ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/g1voeu/${PLAYER}.g1wishes.txt -echo "NB DE VOEUX : "$(cat ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/g1voeu/${PLAYER}.g1wishes.txt | wc -l) +echo "VOEUX : ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/g1voeu/${PLAYER}.g1wishes.txt "$(cat ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/g1voeu/${PLAYER}.g1wishes.txt | wc -l) echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" diff --git a/templates/register.html b/templates/register.html index 54e90b3d..2cf99960 100644 --- a/templates/register.html +++ b/templates/register.html @@ -44,9 +44,9 @@ html {

Internet Reboot !
Inscrivez-vous