Add FLAC lyrics embedding with LRCLIB fallback (#151)
* Update lyrics code * Refactor DownloadFile to use default HTTP client
This commit is contained in:
@@ -617,6 +617,7 @@ func (t *TidalDownloader) DownloadFile(url, filepath string) error {
|
||||
}
|
||||
|
||||
resp, err := t.client.Get(url)
|
||||
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to download file: %w", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user