From 54e0b18e08e409e6102cf040878d1af6f9087525 Mon Sep 17 00:00:00 2001 From: fred Date: Mon, 9 Jan 2023 00:49:04 +0100 Subject: [PATCH] ipns ONE --- ajouter_media.sh | 2 +- templates/index_gif4.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ajouter_media.sh b/ajouter_media.sh index 4faabb93..b7d9b78f 100755 --- a/ajouter_media.sh +++ b/ajouter_media.sh @@ -44,7 +44,7 @@ CHOICE="$3" # Check who is .current PLAYER players=($(ls ~/.zen/game/players | grep -Ev "localhost" 2>/dev/null)) -[[ ${#players[@]} -ne 1 ]] \ +[[ ${#players[@]} -ge 1 ]] \ && espeak "SELECT YOUR PLAYER" && OUTPUT=$(zenity --entry --width 640 --title="=> Astroport" --text="ASTRONAUTE ?" --entry-text=${players[@]}) \ || OUTPUT="${players}" diff --git a/templates/index_gif4.html b/templates/index_gif4.html index 5d770f8b..052666e0 100644 --- a/templates/index_gif4.html +++ b/templates/index_gif4.html @@ -67,7 +67,7 @@ let durees = []; // Récupérer les données - fetch('_LIBRA_/ipns/_VOEUNS_/_PLAYER_.tiddlers.json') + fetch('_LIBRA__VOEUNS_/_PLAYER_.tiddlers.json') .then(res => res.json()) .then(data => { // Extraire les gifanime