diff --git a/ASTROBOT/G1CopierYoutube.sh b/ASTROBOT/G1CopierYoutube.sh
index 7cb3458f..5ef6ad0b 100755
--- a/ASTROBOT/G1CopierYoutube.sh
+++ b/ASTROBOT/G1CopierYoutube.sh
@@ -107,6 +107,8 @@ if [[ ! ${TIDDLER} ]]; then
TITLE=${TITLE//[^A-zÀ-ÿ0-9 ]/}
[[ ! $TITLE ]] && echo "NO TITLE" && continue
+ start=`date +%s`
+
echo ".... Downloading $TITLE.mp4"
espeak "$TITLE" > /dev/null 1>&2
# https://github.com/yt-dlp/yt-dlp#format-selection-examples
@@ -180,6 +182,9 @@ if [[ ! ${TIDDLER} ]]; then
## PREPARE VIDEO HTML5 CODE
TEXT="
{{!!duree}}
"
+ end=`date +%s`
+ dur=`expr $end - $start`
+
echo "Creating Youtube ${YID} tiddler : G1CopierYoutube !"
echo $TEXT
@@ -198,6 +203,7 @@ if [[ ! ${TIDDLER} ]]; then
"mime": "'${MIME}'",
"size": "'${FILE_BSIZE}'",
"sec": "'${SEC}'",
+ "dur": "'${dur}'",
"ipfs": "'/ipfs/${ILINK}'",
"youtubeid": "'${YID}'",
"tags": "'ipfs G1CopierYoutube ${PLAYER} ${EXTRATAG} ${MIME}'"
diff --git a/ASTROBOT/PLAYER.refresh.sh b/ASTROBOT/PLAYER.refresh.sh
index 3c453682..f03a34d3 100755
--- a/ASTROBOT/PLAYER.refresh.sh
+++ b/ASTROBOT/PLAYER.refresh.sh
@@ -127,9 +127,6 @@ isLAN=$(echo $myIP | grep -E "/(^127\.)|(^192\.168\.)|(^10\.)|(^172\.1[6-9]\.)|(
echo '[{"title":"$:/ipfs/saver/api/http/localhost/5001","tags":"$:/ipfs/core $:/ipfs/saver/api","text":"'$APIGW'"}]' > ~/.zen/tmp/${MOATS}/5001.json
echo '[{"title":"$:/ipfs/saver/gateway/http/localhost","tags":"$:/ipfs/core $:/ipfs/saver/gateway","text":"'$IPFSGW'"}]' > ~/.zen/tmp/${MOATS}/8080.json
- ## UPDATE LightBeam Plugin Tiddler $PLAYER_feed
- # $:/plugins/astroport/lightbeams/saver/ipns/lightbeam-name
- # $:/plugins/astroport/lightbeams/saver/ipns/lightbeam-key
## export FRIENDSFEEDS from Gchange stars
echo '[{"title":"$:/plugins/astroport/lightbeams/state/subscriptions","text":"'${FRIENDSFEEDS}'","tags":""}]' > ~/.zen/tmp/${MOATS}/friends.json