forked from STI/Astroport.ONE
"ipfs" tag added for tiddlers containing <video>
This commit is contained in:
parent
8c8e2a8874
commit
2bde100578
|
@ -58,7 +58,7 @@ for yurl in $(cat ~/.zen/tmp/tiddlers.json | jq -r '.[].text' | grep 'http'); do
|
|||
"type": "'text/vnd.tiddlywiki'",
|
||||
"text": "'$TEXT'",
|
||||
"ipfs": "'${ILINK}'",
|
||||
"tags": "'ipfs youtube copylaradio ${MIME}'"
|
||||
"tags": "'ipfs youtube ${MIME}'"
|
||||
}
|
||||
]
|
||||
' > ~/.zen/tmp/tube.json
|
||||
|
|
|
@ -422,7 +422,7 @@ then
|
|||
if [[ $(echo "$MIME" | grep 'video') ]]; then
|
||||
TEXT="<video controls><source src='/ipfs/"${IPFSID}"' type='"${MIME}"'></video><h1>"${TITLE}"</h1>"
|
||||
MIME="text/vnd.tiddlywiki"
|
||||
TAGS="${CAT} astroport $GENRE"
|
||||
TAGS="${CAT} astroport $GENRE ipfs"
|
||||
CANON=''
|
||||
else
|
||||
TEXT='${MEDIAKEY}'
|
||||
|
|
Loading…
Reference in New Issue