From a106e744668dffc3dd3570c3a5ce50496794a29f Mon Sep 17 00:00:00 2001 From: qo-op Date: Thu, 17 Jun 2021 17:04:45 +0200 Subject: [PATCH] API video {timestamp, ipfs, ipns, titre, sous-titres, hashag, ipfstag} --- zen/new_file_in_astroport.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zen/new_file_in_astroport.sh b/zen/new_file_in_astroport.sh index 2f5bec9..f231a99 100755 --- a/zen/new_file_in_astroport.sh +++ b/zen/new_file_in_astroport.sh @@ -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 )