FOLDER="/MP4" or /MP3

This commit is contained in:
fred 2024-04-20 22:43:18 +02:00
parent 84184acfd4
commit f933ac1069
1 changed files with 3 additions and 1 deletions

View File

@ -238,6 +238,7 @@ if [[ ! ${TIDDLER} ]]; then
{{!!filesize}} - {{!!duration}} sec. - vtratio(dur) = {{!!vtratio}} ({{!!dur}})
<br>
<h1><a href='"${ZYURL}"'>"${TITLE}"</a></h1>"
FOLDER="/MP4"
else
TEXT="<audio controls>
<source src='/ipfs/"${ILINK}"' type='"${MIME}"'>
@ -247,6 +248,7 @@ if [[ ! ${TIDDLER} ]]; then
{{!!filesize}} - {{!!duration}} sec. - vtratio(dur) = {{!!vtratio}} ({{!!dur}})
<br>
<h1><a href='"${ZYURL}"'>"${TITLE}"</a></h1>"
FOLDER="/MP3"
fi
end=`date +%s`
@ -271,7 +273,7 @@ if [[ ! ${TIDDLER} ]]; then
"giftime": "'${PROBETIME}'",
"gifanime": "'/ipfs/${ANIMH}'",
"modified": "'${MOATS}'",
"title": "'${ZFILE}'",
"title": "'${FOLDER}/${ZFILE}'",
"type": "'text/vnd.tiddlywiki'",
"vtratio": "'${VTRATIO}'",
"text": "'$TEXT'",