diff --git a/zen/ipns_TAG_refresh.sh b/zen/ipns_TAG_refresh.sh index 247c58d..716914b 100755 --- a/zen/ipns_TAG_refresh.sh +++ b/zen/ipns_TAG_refresh.sh @@ -83,8 +83,13 @@ Recrutons experts BASH pour programmer les nouveaux services du Datacenter Virtu ## CRYPTO EXAMPLE, use natools to decrypt (could also verify signature) [[ -f ~/.zen/ipfs/.${IPFSNODEID}/KEY/${id}/${G1PUB}/.ipfs.filelink.natools.encrypt ]] && $MY_PATH/tools/natools.py decrypt -f pubsec -k "$HOME/.zen/secret.dunikey" -i "$HOME/.zen/ipfs/.${IPFSNODEID}/KEY/${id}/${G1PUB}/.ipfs.filelink.natools.encrypt" -o "/tmp/${id}_filelink.txt" cat /tmp/${id}_filelink.txt + echo "" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${id}/${G1PUB}/index.html + ARIESLINK="https://aries.copylaradio.com$(cat /tmp/${id}_filelink.txt)" + MIMETYPE="video/${ARIESLINK##*.}" + # echo "" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${id}/${G1PUB}/index.html + if [[ "$source" == "YOUTUBE" ]] then echo "$source"