## REFRESH ONLY TMDB (level 1), youtube is level 0

This commit is contained in:
fred 2021-09-09 21:29:10 +02:00
parent f7a937b5b1
commit 4607e7ba3d
1 changed files with 2 additions and 0 deletions

View File

@ -237,6 +237,8 @@ for ipnslink in $(ls ~/.zen/PIN/*/IPNSLINK); do
ipfsid=$(echo $ipnslink | cut -d '/' -f 6)
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
## GET ACTUAL IPNS .chain VALUE