LOCALHOST LINK MADE FOR ASTROPORT STATIONS
This commit is contained in:
parent
3b6ee36729
commit
da287a1257
|
@ -178,7 +178,7 @@ fi
|
||||||
########################################################################
|
########################################################################
|
||||||
## add default metadata (TODO = use json file?)
|
## add default metadata (TODO = use json file?)
|
||||||
########################################################################
|
########################################################################
|
||||||
FILE_BSIZE=$(du -b "${path}${file}" | cut -d ' ' -f 1)
|
FILE_BSIZE=$(du -b "${path}${file}" | awk '{print $1}')
|
||||||
echo "${FILE_BSIZE}" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${MEDIAKEY}/${G1PUB}/.filesize
|
echo "${FILE_BSIZE}" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${MEDIAKEY}/${G1PUB}/.filesize
|
||||||
echo "${file}" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${MEDIAKEY}/${G1PUB}/.ipfs.filename
|
echo "${file}" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${MEDIAKEY}/${G1PUB}/.ipfs.filename
|
||||||
echo "${TITLE}" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${MEDIAKEY}/${G1PUB}/.title
|
echo "${TITLE}" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${MEDIAKEY}/${G1PUB}/.title
|
||||||
|
@ -325,23 +325,20 @@ echo "<!DOCTYPE html>
|
||||||
<head>
|
<head>
|
||||||
<title>$TITLE in Astroport</title>
|
<title>$TITLE in Astroport</title>
|
||||||
<meta charset=\"UTF-8\">
|
<meta charset=\"UTF-8\">
|
||||||
<meta http-equiv=\"Refresh\" content=\"10;URL=https://tube.copylaradio.com/ipns/$IPNSLINK/${G1PUB}/\">
|
<meta http-equiv=\"Refresh\" content=\"10;URL=http://127.0.0.1:8181/ipfs/$IPFSREPFILEID/$URLENCODE_FILE_NAME\">
|
||||||
<link rel='stylesheet' href='/crowdbunker.css' type='text/css' />
|
<link rel='stylesheet' href='/crowdbunker.css' type='text/css' />
|
||||||
<link rel='icon' type='image/png' href='/astrocrowdbunker.png' />
|
<link rel='icon' type='image/png' href='/astrocrowdbunker.png' />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<h5>
|
<h5>
|
||||||
<a href=\"http://127.0.0.1:8181/ipfs/$IPFSREPFILEID/$URLENCODE_FILE_NAME\"><span>Lien direct depuis sa Station Astroport/KODI</span></a>!
|
<a href=\"http://127.0.0.1:8181/ipfs/$IPFSREPFILEID/$URLENCODE_FILE_NAME\"><span>Lien direct qui fonctionne depuis votre Station Astroport/KODI</span></a>!
|
||||||
</h5>
|
</h5>
|
||||||
<h6>
|
|
||||||
<a href='https://astroport.com'><span>ASTROPORT/KODI</span> × <span> DEMO</span></a>
|
|
||||||
</h6>
|
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
<article><h2>$TITLE</h2>
|
<article><h2>$TITLE</h2>
|
||||||
<br>Lancement du streaming video dans 10 secondes ...<br>
|
<br>Accédez immédiatement à cette vidéo depuis votre station Astroport/KODI ...<br>
|
||||||
<h1 class='video-title'>Vous essayez <a href='https://copylaradio.com'>astrXbian</a> BETA Live TEstNET Astroport</h1>
|
<h1 class='video-title'>Essayez <a href='https://copylaradio.com'>astrXbian</a> Le BETA Live TEstNET Astroport</h1>
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
<center><br>Service Video Club / Datacenter P2P Libre et Légal.<br>
|
<center><br>Service Video Club / Datacenter P2P Libre et Légal.<br>
|
||||||
|
|
Loading…
Reference in New Issue