forked from axiom-team/astrXbian
youtube/wordpress GENRES = genre1|genre2|genre3
This commit is contained in:
parent
e1ba668426
commit
6c51aa536d
|
@ -90,27 +90,26 @@ TITLE="${YNAME%.*}"
|
|||
|
||||
## CORRECT PARAMETERS to Make Kodi compatible YASTRXBIAN FILE
|
||||
|
||||
YOUTUBE_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"\
|
||||
FALSE Savoir\
|
||||
FALSE Nature\
|
||||
FALSE Habiter\
|
||||
FALSE Nourrir\
|
||||
FALSE Deplacer\
|
||||
FALSE Guerir\
|
||||
FALSE Divertir\
|
||||
FALSE Musique\
|
||||
FALSE DIY\
|
||||
FALSE Science\
|
||||
FALSE Humain\
|
||||
FALSE Animal\
|
||||
TRUE Eveil\
|
||||
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" \
|
||||
FALSE Savoir \
|
||||
FALSE Nature \
|
||||
FALSE Habiter \
|
||||
FALSE Nourrir \
|
||||
FALSE Deplacer \
|
||||
FALSE Guerir \
|
||||
FALSE Divertir \
|
||||
FALSE Musique \
|
||||
FALSE DIY \
|
||||
FALSE Science \
|
||||
FALSE Humain \
|
||||
FALSE Animal \
|
||||
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 \
|
||||
|
|
Loading…
Reference in New Issue