audio / video
This commit is contained in:
parent
c1545b76b5
commit
4dd767877f
|
@ -51,7 +51,7 @@ if [[ "$timebar" == "00:01" ]]; then
|
|||
youtube-dl --rm-cache-dir
|
||||
youtube-dl -U
|
||||
[[ $jourdelasemaine == 0 ]] && mv -f /tmp/astroport.log ~/.zen/astroport.$numerosemaine.log # LOG BACKUP FOR 1 YEAR !!
|
||||
|
||||
cd $MY_PATH/../ && git pull && cd $MY_PATH # UPDATE CODE git pull
|
||||
fi
|
||||
##################################################################
|
||||
|
||||
|
|
|
@ -23,4 +23,8 @@ crontab -l > /tmp/mycron
|
|||
echo "* * * * * $MY_PATH/cron_MINUTE.sh >> /tmp/astroport.log 2>&1" >> /tmp/mycron
|
||||
crontab /tmp/mycron
|
||||
rm /tmp/mycron
|
||||
|
||||
# MAKE IPFS SWARM refresh
|
||||
$MY_PATH/ipfs_SWARM_refresh.sh
|
||||
|
||||
exit 0
|
||||
|
|
|
@ -35,15 +35,16 @@ ipfsnodeid=$(ipfs id -f='<id>\n')
|
|||
current_ts=$(date -u +%s%N | cut -b1-13)
|
||||
[ -f ~/.zen/zenyta.last.ts ] && last_ts=$(cat ~/.zen/zenyta.last.ts) || last_ts=$((current_ts - 24*3600*1000 - 1)) # 24h ago
|
||||
|
||||
echo "
|
||||
_
|
||||
____ ___ _ __ _ _ | |_ __ __
|
||||
|_ / / _ \ | '_ \ | | | | | __| \ \ / /
|
||||
/ / | __/ | | | | | |_| | | |_ \ V /
|
||||
/___| \___| |_| |_| \__, | \__| \_/
|
||||
|___/
|
||||
last timestamp: $last_ts
|
||||
"
|
||||
echo "last timestamp: $last_ts"
|
||||
echo '
|
||||
a u d i o
|
||||
_ _
|
||||
__ _ _ _ __| | (_) ___
|
||||
/ _` | | || | / _` | | | / _ \
|
||||
\__,_| \_,_| \__,_| |_| \___/
|
||||
|
||||
'
|
||||
|
||||
|
||||
#messages=$(sbotc messagesByType '{"type":"post","gt":'$last_ts'}')
|
||||
# SEARCH "#zenyta" CMD in message text
|
||||
|
|
|
@ -36,15 +36,16 @@ ipfsnodeid=$(ipfs id -f='<id>\n')
|
|||
current_ts=$(date -u +%s%N | cut -b1-13)
|
||||
[ -f ~/.zen/zenytv.last.ts ] && last_ts=$(cat ~/.zen/zenytv.last.ts) || last_ts=$((current_ts - 24*3600*1000 - 1)) # 24h ago
|
||||
|
||||
echo "
|
||||
_
|
||||
____ ___ _ __ _ _ | |_ __ __
|
||||
|_ / / _ \ | '_ \ | | | | | __| \ \ / /
|
||||
/ / | __/ | | | | | |_| | | |_ \ V /
|
||||
/___| \___| |_| |_| \__, | \__| \_/
|
||||
|___/
|
||||
last timestamp: $last_ts
|
||||
"
|
||||
echo "last timestamp: $last_ts"
|
||||
echo '
|
||||
v i d e o
|
||||
_ _
|
||||
__ __ (_) __| | ___ ___
|
||||
\ V / | | / _` | / -_) / _ \
|
||||
\_/ |_| \__,_| \___| \___/
|
||||
|
||||
'
|
||||
|
||||
|
||||
#messages=$(sbotc messagesByType '{"type":"post","gt":'$last_ts'}')
|
||||
# SEARCH "#zenytv" CMD in message text
|
||||
|
|
|
@ -257,8 +257,8 @@ echo "New Contract (hit ENTER)"
|
|||
read
|
||||
|
||||
echo "To get access to file : $PASSENGERNAME
|
||||
- Give $READ Zen to $ipfsnodeid
|
||||
Once received "
|
||||
- Send $READ Zen to $ipfsnodeid with $PASSENGERNAME in comment
|
||||
Once payment received. You will get a SSB message containing your key"
|
||||
|
||||
# so it create a "_passenger.ipfs.NodeN.crypt"
|
||||
# ADD NodeN as a consumer (each new listener is a relative partners)
|
||||
|
|
Loading…
Reference in New Issue