From 8e0a44568e15e6426d27a64602a96982aa7de5f7 Mon Sep 17 00:00:00 2001 From: Axel Date: Mon, 30 Sep 2024 14:21:29 +0200 Subject: [PATCH] Update create_song_buttons.sh --- create_song_buttons.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/create_song_buttons.sh b/create_song_buttons.sh index f1c9208..efc229f 100644 --- a/create_song_buttons.sh +++ b/create_song_buttons.sh @@ -56,8 +56,9 @@ i=0 for album in $(ls | sort -h); do echo echo "#### ${album} " >> "${buttons_file}" + echo "
" >> "${buttons_file}" + echo "Track List" >> "${buttons_file}" - echo "[![${album}](https://img.youtube.com/vi/${video_IDs[$i]}/0.jpg)](https://www.youtube.com/watch?v=${video_IDs[$i]} \"${album}\")" >> "${buttons_file}" cd "${album}" i=$((i+1)) for song in $(ls | sort -h); do @@ -83,5 +84,8 @@ function showButton${song_tag}() { echo >> "${buttons_file}" cd .. done +echo "
" >> "${buttons_file}" +echo "[![${album}](https://img.youtube.com/vi/${video_IDs[$i]}/0.jpg)](https://www.youtube.com/watch?v=${video_IDs[$i]} \"${album}\")" >> "${buttons_file}" + cd "${current_directory}"