youtube/wordpress GENRES = genre1|genre2|genre3

This commit is contained in:
qo-op 2021-04-04 21:54:41 +02:00
parent e1ba668426
commit 6c51aa536d
1 changed files with 18 additions and 19 deletions

View File

@ -90,7 +90,7 @@ TITLE="${YNAME%.*}"
## CORRECT PARAMETERS to Make Kodi compatible YASTRXBIAN FILE
YOUTUBE_GENRES=$(zenity --list --checklist --title="GENRE" --height=${haut}\
GENRES=$(zenity --list --checklist --title="GENRE" --height=${haut} \
--text="Choisissez le(s) genre(s) d'information(s) contenue(s) dans cette vidéo \"${TITLE}\" publiée sur OASIS" \
--column="Use" \
--column="Feature" \
@ -109,8 +109,7 @@ YOUTUBE_GENRES=$(zenity --list --checklist --title="GENRE" --height=${haut}\
TRUE Eveil \
TRUE ${AXID// /-})
# FORMAT GENRES ["genre1","genre2"]
GENRES="[\"$(echo ${YOUTUBE_GENRES} | sed s/\|/\",\"/g)\"]"
# FORMAT GENRES genre1|genre2|genre3
## MANIFESTE OASIS
zenity --width ${large} --height=${haut} --text-info \