VTRATIO debug
This commit is contained in:
parent
d744beb884
commit
7012630e16
|
@ -187,7 +187,7 @@ if [[ ! ${TIDDLER} ]]; then
|
||||||
PLAYLIST=$(yt-dlp --cookies-from-browser $BROWSER --print "%(playlist)s" "${ZYURL}" | sed -r 's/\<./\U&/g' | sed 's/ //g')
|
PLAYLIST=$(yt-dlp --cookies-from-browser $BROWSER --print "%(playlist)s" "${ZYURL}" | sed -r 's/\<./\U&/g' | sed 's/ //g')
|
||||||
EXTRATAG="$CHANNEL $PLAYLIST"
|
EXTRATAG="$CHANNEL $PLAYLIST"
|
||||||
## PREPARE VIDEO HTML5 CODE
|
## PREPARE VIDEO HTML5 CODE
|
||||||
TEXT="<video controls width=100% poster='/ipfs/"${ANIMH}"'><source src='/ipfs/"${ILINK}"' type='"${MIME}"'></video><br>{{!!duree}} - {{!!filesize}} - {{!!dur}} sec. (${$VTRATIO})<br><h1><a href='"${ZYURL}"'>"${TITLE}"</a></h1>"
|
TEXT="<video controls width=100% poster='/ipfs/"${ANIMH}"'><source src='/ipfs/"${ILINK}"' type='"${MIME}"'></video><br>{{!!filesize}} - {{!!dur}} sec. - vtratio ="${$VTRATIO}"<br><h1><a href='"${ZYURL}"'>"${TITLE}"</a></h1>"
|
||||||
|
|
||||||
end=`date +%s`
|
end=`date +%s`
|
||||||
dur=`expr $end - $start`
|
dur=`expr $end - $start`
|
||||||
|
|
|
@ -792,12 +792,12 @@ esac
|
||||||
########################################################################
|
########################################################################
|
||||||
# Screen capture
|
# Screen capture
|
||||||
########################################################################
|
########################################################################
|
||||||
if [[ $(echo $DISPLAY | cut -d ':' -f 1) == "" ]]; then
|
#~ if [[ $(echo $DISPLAY | cut -d ':' -f 1) == "" ]]; then
|
||||||
espeak "beware taking screen shot in 3 seconds"
|
#~ espeak "beware taking screen shot in 3 seconds"
|
||||||
sleep 3
|
#~ sleep 3
|
||||||
espeak "smile"
|
#~ espeak "smile"
|
||||||
import -window root ~/.zen/tmp/screen.png
|
#~ import -window root ~/.zen/tmp/screen.png
|
||||||
fi
|
#~ fi
|
||||||
|
|
||||||
###################################
|
###################################
|
||||||
### MOVING FILE TO ~/astroport ####
|
### MOVING FILE TO ~/astroport ####
|
||||||
|
|
|
@ -289,7 +289,7 @@ then
|
||||||
if [[ $(echo "$MIME" | grep 'video') ]]; then
|
if [[ $(echo "$MIME" | grep 'video') ]]; then
|
||||||
|
|
||||||
TEXT="<video controls width=100% poster='/ipfs/"${ANIMH}"'><source src='/ipfs/"${IPFSID}"' type='"${MIME}"'></video>
|
TEXT="<video controls width=100% poster='/ipfs/"${ANIMH}"'><source src='/ipfs/"${IPFSID}"' type='"${MIME}"'></video>
|
||||||
<br>{{!!duree}} - {{!!filesize}} - {{!!dur}} sec. (${$VTRATIO})<br>
|
<br>{{!!filesize}} - {{!!dur}} sec. - vtratio ="${$VTRATIO}"<br>
|
||||||
"$H1"
|
"$H1"
|
||||||
<h2>"$DESCRIPTION"</h2>"
|
<h2>"$DESCRIPTION"</h2>"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue