## REFRESH ONLY TMDB (level 1), youtube is level 0
This commit is contained in:
parent
f7a937b5b1
commit
4607e7ba3d
|
@ -237,6 +237,8 @@ for ipnslink in $(ls ~/.zen/PIN/*/IPNSLINK); do
|
||||||
ipfsid=$(echo $ipnslink | cut -d '/' -f 6)
|
ipfsid=$(echo $ipnslink | cut -d '/' -f 6)
|
||||||
mediakey=$(cat ~/.zen/PIN/${ipfsid}/MEDIAKEY)
|
mediakey=$(cat ~/.zen/PIN/${ipfsid}/MEDIAKEY)
|
||||||
|
|
||||||
|
[[ ! $(echo "${mediakey}" | grep "TMDB_") ]] && continue ## REFRESH ONLY TMDB (level 1), youtube is level 0
|
||||||
|
|
||||||
[[ ! $(ipfs key list | grep ${mediakey}) ]] && echo "ERROR MISSING MEDIAKEY" && continue
|
[[ ! $(ipfs key list | grep ${mediakey}) ]] && echo "ERROR MISSING MEDIAKEY" && continue
|
||||||
|
|
||||||
## GET ACTUAL IPNS .chain VALUE
|
## GET ACTUAL IPNS .chain VALUE
|
||||||
|
|
Loading…
Reference in New Issue