add CLI parity flags and expand provider support

This brings the Go CLI closer to upstream behavior with global flag handling and clearer resolve failures, while adding Tidal video downloads plus initial Deezer and SoundCloud no-account flows for broader end-to-end coverage.
This commit is contained in:
Joren committed 2026-04-20 00:56:10 +02:00
1 parent 4da5114a70
commit b2688ce949
15 files changed
+1746 -57

No files matched your search

+11
View File
@@ -38,6 +38,17 @@ func TestTidalTrackURL(t *testing.T) {
}
}
func TestTidalVideoURL(t *testing.T) {
url := "https://tidal.com/browse/video/59727844"
result := Parse(url)
if result == nil {
t.Fatalf("expected parsed url")
}
if result.Source != "tidal" || result.MediaType != "video" || result.ID != "59727844" {
t.Fatalf("unexpected parse result: %+v", result)
}
}
func TestDeezerTrackURL(t *testing.T) {
url := "https://www.deezer.com/track/4195713"
result := Parse(url)