Whitespaces...
This commit is contained in:
parent
38c11332d9
commit
23ac878b9d
1 changed files with 2 additions and 6 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue