mirror of
https://github.com/Superredstone/spotiflac-cli.git
synced 2026-03-07 20:18:07 +01:00
feat: add filename extension and verbose flag
This commit is contained in:
19
lib/tidal.go
19
lib/tidal.go
@@ -44,25 +44,6 @@ func (app *App) GetAvailableApis() []string {
|
||||
}
|
||||
}
|
||||
|
||||
func (app *App) DownloadFromTidal(tidalId string) error {
|
||||
// url, err := app.GetTidalDownloadUrl(tidalId)
|
||||
// if err != nil {
|
||||
// return err
|
||||
// }
|
||||
// rawResponse, err := http.Get(tidalUrl)
|
||||
// if err != nil {
|
||||
// return err
|
||||
// }
|
||||
// defer rawResponse.Body.Close()
|
||||
//
|
||||
// _, err = io.ReadAll(rawResponse.Body)
|
||||
// if err != nil {
|
||||
// return err
|
||||
// }
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
type TidalAPIResponseV2 struct {
|
||||
Version string `json:"version"`
|
||||
Data struct {
|
||||
|
||||
Reference in New Issue
Block a user