more tags

This commit is contained in:
fred 2023-03-15 01:36:20 +01:00
parent 90b8ff7013
commit 73a20e82f7
3 changed files with 6 additions and 3 deletions

View File

@ -58,6 +58,7 @@ if [[ ${QRCODE} == "station" ]]; then
) &
exit 0
fi
################################################################################
## QRCODE can be ASTRONAUTENS or G1PUB format
################################################################################

View File

@ -219,7 +219,7 @@ if [[ ! ${TIDDLER} ]]; then
"ipfs": "'/ipfs/${ILINK}'",
"youtubeid": "'${YID}'",
"zurl": "'${ZYURL}'",
"tags": "'ipfs G1CopierYoutube ${PLAYER} ${EXTRATAG} ${MIME}'"
"tags": "'ipfs G1CopierYoutube ${PLAYER} ${EXTRATAG} ${MIME} $(echo $ZFILE | sed 's~_~ ~g' | sed 's~\.~ ~g')'"
}
]
' > "$HOME/.zen/tmp/$IPFSNODEID/G1CopierYoutube/$PLAYER/$YID.TW.json"

View File

@ -21,13 +21,15 @@ if [[ ! -d $img_dir ]]; then
# Get PLAYER wallet amount :: ~/.zen/game/players/${PLAYER}/ipfs/G1SSB/COINS
echo $MY_PATH/jaklis/jaklis.py -k ~/.zen/game/players/${PLAYER}/secret.dunikey balance
COINS=$($MY_PATH/COINScheck.sh $pub | tail -n 1)
$MY_PATH/COINScheck.sh $pub > ~/.zen/tmp/coins
cat ~/.zen/tmp/coins
COINS=$(cat ~/.zen/tmp/coins | tail -n 1)
echo "+++ ${PLAYER} have $COINS Ğ1 Coins +++"
## USE G1BARRE SERVICE AS 1ST IMAGE
curl -so ~/.zen/tmp/carousel/${pub}.one.png \
"https://g1sms.fr/g1barre/image.php?pubkey=${pub}&target=20000&title=${PLAYER}&node=g1.asycn.io&start_date=2020-01-01&display_pubkey=true&display_qrcode=true"
echo "GOT ~/.zen/tmp/carousel/${pub}.png"
echo "GOT ~/.zen/tmp/carousel/${pub}.one.png"
## WRITE ON IT : ASK FOR REFILL
convert -font 'Liberation-Sans' \