From 766fd6dc794d6d2b162fc30a92e137e2fb5f31aa Mon Sep 17 00:00:00 2001 From: fred Date: Sat, 2 Mar 2024 18:47:53 +0100 Subject: [PATCH] TODO: Maya Kin calculation for PLAYER date of birth --- tools/kin.sh | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/tools/kin.sh b/tools/kin.sh index f40b75f2..a08832a1 100755 --- a/tools/kin.sh +++ b/tools/kin.sh @@ -1,22 +1,6 @@ #!/bin/bash -echo "KIN CALCULATION HAS DEFAULT - EDIT - CORRECT and run by hand" -exit 0 - -# Create KIN directory if not exists -mkdir -p ~/.zen/tmp/KIN - -# Loop through numbers 1 to 260 -for i in {1..260}; do - # Construct the URL - url="http://www.starroot.com/dreamspell/prayers/kin${i}.rm.mp3" - - # Download the file to the KIN directory - [[ ! -s ~/.zen/tmp/KIN/kin${i}.mp3 ]] \ - && echo "$i" - && curl -o ~/.zen/tmp/KIN/kin${i}.mp3 "$url" -done - +echo "THIS KIN CALCULATION HAS DEFAULT - EDIT - CORRECT and run by hand" # Function to describe tonality based on the provided tonality describe_tonality() { @@ -180,6 +164,8 @@ calculate_maya_kin() { kin=$((kin - 260)) fi + aplay /ipfs/Qmbt31Txi8hq9FUMhrEHbjtpgv8A8o3SqysJUrEA4nuZBe/kin$kin.mp3 & + # Print the calculated kin echo $kin }