feat(cli): simplify output for individual songs

This commit is contained in:
Mathis Maquenne
2025-09-10 11:10:52 +02:00
parent 9b23e3a8d9
commit c2b4fcfa11
4 changed files with 27 additions and 25 deletions
+1 -5
View File
@@ -57,11 +57,7 @@ func (t *Track) GetSongs() []*Song {
return []*Song{t.Results.Data}
}
func (t *Track) SetSongs(songs []*Song) {
if len(songs) > 0 {
t.Results.Data = songs[0]
}
}
func (t *Track) SetSongs(songs []*Song) {}
func (t *Track) GetOutputDir(outputDir string) string {
if t.Results.Data == nil {