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,27 +90,26 @@ TITLE="${YNAME%.*}"
## CORRECT PARAMETERS to Make Kodi compatible YASTRXBIAN FILE ## 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"\ --text="Choisissez le(s) genre(s) d'information(s) contenue(s) dans cette vidéo \"${TITLE}\" publiée sur OASIS" \
--column="Use"\ --column="Use" \
--column="Feature"\ --column="Feature" \
FALSE Savoir\ FALSE Savoir \
FALSE Nature\ FALSE Nature \
FALSE Habiter\ FALSE Habiter \
FALSE Nourrir\ FALSE Nourrir \
FALSE Deplacer\ FALSE Deplacer \
FALSE Guerir\ FALSE Guerir \
FALSE Divertir\ FALSE Divertir \
FALSE Musique\ FALSE Musique \
FALSE DIY\ FALSE DIY \
FALSE Science\ FALSE Science \
FALSE Humain\ FALSE Humain \
FALSE Animal\ FALSE Animal \
TRUE Eveil\ TRUE Eveil \
TRUE ${AXID// /-}) TRUE ${AXID// /-})
# FORMAT GENRES ["genre1","genre2"] # FORMAT GENRES genre1|genre2|genre3
GENRES="[\"$(echo ${YOUTUBE_GENRES} | sed s/\|/\",\"/g)\"]"
## MANIFESTE OASIS ## MANIFESTE OASIS
zenity --width ${large} --height=${haut} --text-info \ zenity --width ${large} --height=${haut} --text-info \