Whitespaces...

This commit is contained in:
Medvidek77 2025-02-14 22:51:56 +01:00
parent 38c11332d9
commit 23ac878b9d

View file

@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
downloadTrack() { downloadTrack() {
if [ "$#" -ge 1 ]; then if [ "$#" -ge 1 ]; then
echo "Downloading track with ID: $1" echo "Downloading track with ID: $1"
@ -53,8 +54,6 @@ searchTrack() {
} }
# ----
downloadAlbum() { downloadAlbum() {
id="$1" id="$1"
count=$(curl -s "https://tidal.401658.xyz/album/?id=$id" | jq -r '.[1].totalNumberOfItems') count=$(curl -s "https://tidal.401658.xyz/album/?id=$id" | jq -r '.[1].totalNumberOfItems')
@ -73,6 +72,7 @@ downloadAlbum() {
} }
searchAlbum() { searchAlbum() {
if [ "$#" -ge 1 ]; then if [ "$#" -ge 1 ]; then
album_name="$1" album_name="$1"
@ -108,10 +108,6 @@ searchAlbum() {
} }
echo "Welcome to TiDLer -> Tidal music downloader" && echo "" echo "Welcome to TiDLer -> Tidal music downloader" && echo ""
if [ "$1" = "search" ]; then if [ "$1" = "search" ]; then