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