Last active
November 12, 2019 03:20
-
-
Save chezsick/ec14dddf07507b664176d8252f10a910 to your computer and use it in GitHub Desktop.
Make A Podcast For ZeroNet ;;;;;;;;;;;;;;;;;;; args :::::::::::::::::::: prog address privatekey timesplit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
address=$1 | |
privatekey=$2 | |
timesplit=$3 | |
time=0 | |
rec livemain.mp3 trim 0 $timesplit | |
mv livemain.mp3 data/$address/livemain.mp3 | |
printf "<audio controls autoplay=true><source src='livemain.mp3#t=$time'></audio>" > data/$address/index.html | |
python3 zeronet.py siteSign --publish $address $privatekey | |
time=$(expr $time + $timesplit) | |
while test 1 | |
do | |
rec livemain.mp3 trim 0 $timesplit | |
mv data/$address/livemain.mp3 livemain_tmp.mp3 | |
sox livemain_tmp.mp3 livemain.mp3 data/$address/livemain.mp3 | |
printf "<audio controls autoplay=true><source src='livemain.mp3#t=$time'></audio>" > data/$address/index.html | |
python3 zeronet.py siteSign --publish $address $privatekey | |
time=$(expr $time + $timesplit) | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
address=$1 | |
privatekey=$2 | |
timesplit=$3 | |
time=0 | |
while test 1 | |
do | |
rec livemain.mp3 trim 0 $timesplit | |
mv livemain.mp3 data/$address/livemain.mp3 | |
printf "<audio controls autoplay=true><source src='livemain.mp3'></audio>" > data/$address/index.html | |
python3 zeronet.py siteSign --publish $address $privatekey | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment