diff --git a/tools/new_file_in_astroport.sh b/tools/new_file_in_astroport.sh index 213330dc..1c23d51f 100755 --- a/tools/new_file_in_astroport.sh +++ b/tools/new_file_in_astroport.sh @@ -426,7 +426,13 @@ then MIME=$(file --mime-type "$HOME/astroport/${TYPE}/${REFERENCE}/${file}" | rev | cut -d ' ' -f 1 | rev) REAL=$MIME if [[ $(echo "$MIME" | grep 'video') ]]; then - TEXT="

"${TITLE}"

" + TEXT="

"${TITLE}"

+ <\$button class='tc-tiddlylink'> + <\$list filter='[tag[${CAT}]]'> + <\$action-navigate \$to=<> \$scroll=no/> + + Afficher tous les ${CAT} + " MIME="text/vnd.tiddlywiki" TAGS="G1Films G1DessinsAnimes G1Series G1CopierYoutube ${CAT} ${PLAYER} $GENRE ipfs" CANON='' diff --git a/tools/vlc_webcam.sh b/tools/vlc_webcam.sh index 3ebaf484..a95f4f1f 100755 --- a/tools/vlc_webcam.sh +++ b/tools/vlc_webcam.sh @@ -75,7 +75,7 @@ ffmpeg -i ~/.zen/tmp/output.mp4 -codec: copy -start_number 0 -hls_time 10 -hls_l ## ADDING TO IPFS [[ ! -s ~/.zen/tmp/output.mp4 ]] && espeak "Sorry no video file found" && exit 1 -IPFSID=$(ipfs add -wrHq ~/.zen/tmp/output.mp4 | tail -n 1) +IPFSID=$(ipfs add -wHq ~/.zen/tmp/output.mp4 | tail -n 1) echo "NEW VIDEO FILE /ipfs/$IPFSID/output.mp4" echo "FOUND : ~/.zen/tmp/output.mp4" @@ -123,7 +123,8 @@ ANIMH=$(ipfs add -q ~/.zen/tmp/screen.gif) REAL=$(file --mime-type "$HOME/astroport/video/vlog/$PLAYER_$MEDIAID.mp4" | cut -d ':' -f 2 | cut -d ' ' -f 2) ## TW not displaying direct ipfs video link (only image, pdf, ...) so insert