diff --git a/zen/ipns_TAG_refresh.sh b/zen/ipns_TAG_refresh.sh index e7b286f..4233fcf 100755 --- a/zen/ipns_TAG_refresh.sh +++ b/zen/ipns_TAG_refresh.sh @@ -86,6 +86,7 @@ Service de streaming public/privé diffusé par IPFS grâce à Astroport...
if [[ "$source" == "YOUTUBE" ]] then + echo "$source" # mutiTUBE - activate .views.counter # echo "" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${id}/${G1PUB}/index.html # TODO go/index.php from nginx proxy acting act as gateway (= Easy Round robin DNS tube.copylaradio.com is dynamic IP swap swarm nodes from node performance...) diff --git a/zen/wordpress_channel.sh b/zen/wordpress_channel.sh index 4b3c778..dec89fd 100755 --- a/zen/wordpress_channel.sh +++ b/zen/wordpress_channel.sh @@ -50,7 +50,7 @@ do 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)}')" - tags="$genres,$tags" + [[ "$tags" != "null" ]] && tags="$genres,$tags" || tags="$genres" description=$(cat ~/.zen/ipfs_swarm/.$ipfnodesource/KEY/$mediakey/$g1pubsource/video.json | jq -cr .description) [[ $description ]] && description=$(echo "${description//$'\n'/
}") || description="SAUVEGARDE VIDEO ASTROPORT"