feat: add download fallback

This commit is contained in:
2026-02-20 15:08:53 +01:00
parent 36030f9f4c
commit e666e1b4f8
3 changed files with 58 additions and 9 deletions

View File

@@ -20,8 +20,8 @@ type SongLinkResponse struct {
}
type LinksByPlatform struct {
Deezer LinkByPlatform `json:"deezer"`
Tidal LinkByPlatform `json:"tidal"`
Deezer *LinkByPlatform `json:"deezer,omitempty"`
Tidal *LinkByPlatform `json:"tidal,omitempty"`
}
type LinkByPlatform struct {