diff --git a/main.go b/main.go index 9d1b811..e7ffdd1 100644 --- a/main.go +++ b/main.go @@ -1114,7 +1114,7 @@ func main() { for albumNum, url := range os.Args[1:] { fmt.Printf("Album %d of %d:\n", albumNum+1, albumTotal) var storefront, albumId string - if strings.Contains(url, "playlist") { + if strings.Contains(url, "/playlist/") { storefront, albumId = checkUrlPlaylist(url) } else { storefront, albumId = checkUrl(url) diff --git a/main_atmos.go b/main_atmos.go index 589d4b0..c44842f 100644 --- a/main_atmos.go +++ b/main_atmos.go @@ -1115,7 +1115,7 @@ func main() { for albumNum, url := range os.Args[1:] { fmt.Printf("Album %d of %d:\n", albumNum+1, albumTotal) var storefront, albumId string - if strings.Contains(url, "playlist") { + if strings.Contains(url, "/playlist/") { storefront, albumId = checkUrlPlaylist(url) } else { storefront, albumId = checkUrl(url) diff --git a/main_select.go b/main_select.go index 03493df..c4292c1 100644 --- a/main_select.go +++ b/main_select.go @@ -1152,7 +1152,7 @@ func main() { for albumNum, url := range os.Args[1:] { fmt.Printf("Album %d of %d:\n", albumNum+1, albumTotal) var storefront, albumId string - if strings.Contains(url, "playlist") { + if strings.Contains(url, "/playlist/") { storefront, albumId = checkUrlPlaylist(url) } else { storefront, albumId = checkUrl(url)