show MEDIAKEY QR Code

This commit is contained in:
qo-op 2021-06-15 10:35:52 +02:00
parent 5e12cf1123
commit f7ee0690da
1 changed files with 7 additions and 4 deletions

View File

@ -265,11 +265,14 @@ rm /tmp/.ipfsid
echo "<meta http-equiv=\"Refresh\" content=\"0;URL=http://127.0.0.1:8181/ipfs/$IPFSREPFILEID/$URLENCODE_FILE_NAME\">" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${INDEXPREFIX}${REFERENCE}/${G1PUB}/index.html
IPNSLINK=$(ipfs key list -l | grep ${INDEXPREFIX}${REFERENCE} | cut -d ' ' -f 1)
echo "<meta http-equiv=\"Refresh\" content=\"10;URL=https://tube.copylaradio.com/ipns/$IPNSLINK/${G1PUB}/\">
echo "<meta charset=\"UTF-8\"><meta http-equiv=\"Refresh\" content=\"10;URL=https://tube.copylaradio.com/ipns/$IPNSLINK/${G1PUB}/\">
<h1><a href='https://astroport.com'>Astroport</a>/KODI</h1>
Ce film <a target='tmdb' href='https://www.themoviedb.org/search?query=${TITLE}'>${TITLE}</a> est disponible dans le video-club de mes amis...<br>
Lecture automatique dans 10 secondes...<br><br>
<h2>Découvrez <a href='https://copylaradio.com'>astrXbian</a></h2>" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${INDEXPREFIX}${REFERENCE}/index.html
Ce film ${TITLE} est disponible dans le Video Club des amis...<br>
Lancement de la lecture dans 10 secondes...<br><br>
<h2>Découvrez <a href='https://copylaradio.com'>astrXbian</a></h2>
<br><br>Voici le portefeuille du media (${id}) : <a href=\"https://www.gchange.fr/#/app/user/${G1PUB}/\">
<img width=40 src=\"https://tube.copylaradio.com/ipns/$IPNSLINK/QR.png\"></a>
faites lui un virement pour le conserver dans le Data Center" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${INDEXPREFIX}${REFERENCE}/index.html
########################################################################
## PUBLISH new IPNS