API video {timestamp, ipfs, ipns, titre, sous-titres, hashag, ipfstag}

This commit is contained in:
qo-op 2021-06-17 17:04:45 +02:00
parent a246c41aff
commit a106e74466
1 changed files with 5 additions and 0 deletions

View File

@ -59,6 +59,11 @@ fi
# EXTRACT INDEX REFERENCE : TMDB or YOUTUBE (can be extended with new )
########################################################################
case ${CAT} in
video)
INDEXPREFIX="VIDEO_"
REFERENCE=$(echo "$path" | cut -d '/' -f 6 )
TITLE="${file%.*}"
;;
youtube)
INDEXPREFIX="YOUTUBE_"
REFERENCE=$(echo "$path" | cut -d '/' -f 6 )