stop publishing youtube copy to gchange

This commit is contained in:
qo-op 2021-05-18 23:47:39 +02:00
parent cb2b937cb7
commit f24a94f2f8
1 changed files with 1 additions and 1 deletions

View File

@ -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