forked from axiom-team/astrXbian
description & tags
This commit is contained in:
parent
f3c31fccb1
commit
ba7032af98
@ -50,10 +50,10 @@ do
|
|||||||
|
|
||||||
mynodename=$(cat ~/.zen/ipfs_swarm/.$IPFSNODEID/G1SSB/_nodename)
|
mynodename=$(cat ~/.zen/ipfs_swarm/.$IPFSNODEID/G1SSB/_nodename)
|
||||||
genres="$(cat ~/.zen/ipfs_swarm/.$ipfnodesource/KEY/$mediakey/$g1pubsource/ajouter_video.txt | cut -d ';' -f 6 | sed 's/|/,/g' | awk '{print tolower($0)}')"
|
genres="$(cat ~/.zen/ipfs_swarm/.$ipfnodesource/KEY/$mediakey/$g1pubsource/ajouter_video.txt | cut -d ';' -f 6 | sed 's/|/,/g' | awk '{print tolower($0)}')"
|
||||||
tags="$tags,$genres"
|
tags="$genres,$tags"
|
||||||
|
|
||||||
description=$(cat ~/.zen/ipfs_swarm/.$ipfnodesource/KEY/$mediakey/$g1pubsource/video.json | jq -cr .description)
|
description=$(cat ~/.zen/ipfs_swarm/.$ipfnodesource/KEY/$mediakey/$g1pubsource/video.json | jq -cr .description)
|
||||||
description=$(echo "${description//$'\n'/<br>}") # replace new line with <br>
|
[[ $description ]] && description=$(echo "${description//$'\n'/<br>}") || description="VIDEO"
|
||||||
|
|
||||||
## USE .ipns.link
|
## USE .ipns.link
|
||||||
# ipnsid=$(cat ~/.zen/ipfs_swarm/.$ipfnodesource/KEY/$mediakey/$g1pubsource/.ipns.link)
|
# ipnsid=$(cat ~/.zen/ipfs_swarm/.$ipfnodesource/KEY/$mediakey/$g1pubsource/.ipns.link)
|
||||||
|
Loading…
Reference in New Issue
Block a user