refactor: move resource info rendering into downloader

This commit is contained in:
Mathis Maquenne
2026-08-05 11:41:24 +02:00
parent dbd7837b17
commit 12dbbb5e10
6 changed files with 112 additions and 98 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ func (c *Client) downloadAllTracks(ctx context.Context, resource deezer.Resource
startTime := time.Now()
if c.kind != deezer.KindTrack {
fmt.Printf("%s\n\nStarting download...\n\n", resource)
fmt.Printf("%s\n\nStarting download...\n\n", resourceInfo(resource))
}
progress := newProgressTracker(len(tracks), c.kind)