1
Fork 0

Import newly released charts

This commit is contained in:
prescientmoon 2024-10-04 17:42:17 +02:00
parent 2ac13510f2
commit 238d81f3bd
Signed by: prescientmoon
SSH key fingerprint: SHA256:WFp/cO76nbarETAoQcQXuV+0h7XJsEsOCI0UsyPIy6U
10 changed files with 28 additions and 13 deletions

View file

@ -17,8 +17,8 @@ mkdir -p $dir_path
cd $dir_path
http GET "$url" > temp
convert ./temp ./base.jpg
convert ./base.jpg -resize 256x256 ./base_256.jpg
magick ./temp ./base.jpg
magick ./base.jpg -resize 256x256 ./base_256.jpg
rm temp
img2sixel ./base.jpg

View file

@ -1,5 +1,5 @@
#!/usr/bin/env bash
dir_path=$SHIMMERING_DATA_DIR/songs
dir_path=$SHIMMERING_ASSETS_DIR/songs/raw
# Find all files in the directory and its subdirectories
find "$dir_path" -type f | while read -r file; do