From 7e639eb41453a62e031d8288e640afc1a16228a5 Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 27 Apr 2023 00:39:27 +0200 Subject: [PATCH] =?UTF-8?q?Pas=20satisfaisant...=20desactivation=20copie?= =?UTF-8?q?=20"web"=20Hey=20les=20DEV=20=C3=A0=20voir=20si=20=C3=A7a=20vou?= =?UTF-8?q?s=20dit=20de=20r=C3=A9activer=20=C3=A7a?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ajouter_media.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ajouter_media.sh b/ajouter_media.sh index ebba492d..051bef19 100755 --- a/ajouter_media.sh +++ b/ajouter_media.sh @@ -103,7 +103,7 @@ if [ $URL ]; then echo "URL: $URL" REVSOURCE="$(echo "$URL" | awk -F/ '{print $3}' | rev)_" - [[ ${CHOICE} == "" ]] && IMPORT=$(zenity --entry --width 640 --title="$URL => Astroport" --text="${PLAYER} Type de media à importer ?" --entry-text="Video" PDF MP3 Web) || IMPORT="$CHOICE" + [[ ${CHOICE} == "" ]] && IMPORT=$(zenity --entry --width 640 --title="$URL => Astroport" --text="${PLAYER} Type de media à importer ?" --entry-text="Video" PDF MP3) || IMPORT="$CHOICE" [[ $IMPORT == "" ]] && espeak "No choice made. Exit" && exit 1 [[ $IMPORT == "Video" ]] && IMPORT="Youtube" CHOICE="$IMPORT" @@ -192,7 +192,7 @@ espeak "$COINS JUNE Ready !" ######################################################################## # CHOOSE CATEGORY (remove anime, not working!) -[ ! $2 ] && [[ $CHOICE == "" ]] && CHOICE=$(zenity --entry --width 300 --title="Catégorie" --text="Quelle catégorie pour ce media ?" --entry-text="Vlog" Video Film Serie Web PDF Youtube MP3) +[ ! $2 ] && [[ $CHOICE == "" ]] && CHOICE=$(zenity --entry --width 300 --title="Catégorie" --text="Quelle catégorie pour ce media ?" --entry-text="Vlog" Video Film Serie PDF Youtube MP3) [[ $CHOICE == "" ]] && echo "NO CHOICE MADE" && exit 1 # LOWER CARACTERS