From f24a94f2f802c1fc5aaa2068027daf74fc135ede Mon Sep 17 00:00:00 2001 From: qo-op Date: Tue, 18 May 2021 23:47:39 +0200 Subject: [PATCH] stop publishing youtube copy to gchange --- zen/new_file_in_astroport.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zen/new_file_in_astroport.sh b/zen/new_file_in_astroport.sh index d7d8358..ebdef0a 100755 --- a/zen/new_file_in_astroport.sh +++ b/zen/new_file_in_astroport.sh @@ -267,7 +267,7 @@ IPNS=$(ipfs name publish --quieter --key="${INDEXPREFIX}${REFERENCE}" $NEWIPFS) if [[ "${CAT}" =~ ^(film|serie|anime|youtube)$ ]] then ## CREATE GCHANGE AD - if [[ ! -f ~/.zen/ipfs/.${IPFSNODEID}/KEY/${INDEXPREFIX}${REFERENCE}/${G1PUB}/.gchange.ad ]] + if [[ ! -f ~/.zen/ipfs/.${IPFSNODEID}/KEY/${INDEXPREFIX}${REFERENCE}/${G1PUB}/.gchange.ad && "${CAT}" != "youtube" ]] then GOFFER=$(~/.zen/astrXbian/zen/jaklis/jaklis.py -k ~/.zen/secret.dunikey setoffer -t "${TITLE} #astroport #${INDEXPREFIX}${REFERENCE}" -d "Envoyez un coeur à ce fichier. https://tube.copylaradio.com/ipns/$IPNS/ pour le conserver dans notre Mediacenter Virtuel entre Amis - #CopyLaRadio - https://astroport.com" -p ~/.zen/astrXbian/disk.png) echo $GOFFER > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${INDEXPREFIX}${REFERENCE}/${G1PUB}/.gchange.ad