print select album
This commit is contained in:
parent
dde4c9444c
commit
76e2693baa
2
main.go
2
main.go
@ -1104,6 +1104,7 @@ func checkArtist(artistUrl string, token string) ([]string, error) {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if num > 0 && num <= len(options) {
|
if num > 0 && num <= len(options) {
|
||||||
|
fmt.Println(options[num-1])
|
||||||
args = append(args, urls[num-1])
|
args = append(args, urls[num-1])
|
||||||
} else {
|
} else {
|
||||||
fmt.Println("Option out of range:", opt[0])
|
fmt.Println("Option out of range:", opt[0])
|
||||||
@ -1120,6 +1121,7 @@ func checkArtist(artistUrl string, token string) ([]string, error) {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
for i := start; i <= end; i++ {
|
for i := start; i <= end; i++ {
|
||||||
|
fmt.Println(options[i-1])
|
||||||
args = append(args, urls[i-1])
|
args = append(args, urls[i-1])
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -1050,6 +1050,7 @@ func checkArtist(artistUrl string, token string) ([]string, error) {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if num > 0 && num <= len(options) {
|
if num > 0 && num <= len(options) {
|
||||||
|
fmt.Println(options[num-1])
|
||||||
args = append(args, urls[num-1])
|
args = append(args, urls[num-1])
|
||||||
} else {
|
} else {
|
||||||
fmt.Println("Option out of range:", opt[0])
|
fmt.Println("Option out of range:", opt[0])
|
||||||
@ -1066,6 +1067,7 @@ func checkArtist(artistUrl string, token string) ([]string, error) {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
for i := start; i <= end; i++ {
|
for i := start; i <= end; i++ {
|
||||||
|
fmt.Println(options[i-1])
|
||||||
args = append(args, urls[i-1])
|
args = append(args, urls[i-1])
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user