From 04e8378f3f9361c66ad1c7f02cfc1f039dd9a3b8 Mon Sep 17 00:00:00 2001 From: acute_interpreter_panic <223899499+acute-interpreter-panic@users.noreply.github.com> Date: Fri, 10 Oct 2025 13:45:27 +0200 Subject: [PATCH] improved shell --- internal/cli/shell.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/internal/cli/shell.go b/internal/cli/shell.go index f892de3..b471ad1 100644 --- a/internal/cli/shell.go +++ b/internal/cli/shell.go @@ -49,7 +49,10 @@ func printResults(musicObjects []data.MusicObject) { sources := m.GetSources() if len(sources) > 0 { for _, source := range sources { - results[i] += "\n\t- " + source.SourceType.Name + " " + string(source.ObjectType) + " " + source.Url + " " + source.AudioUrl + results[i] += "\n\t- " + source.SourceType.Name + " " + string(source.ObjectType) + " " + source.Url + if source.AudioUrl != "" { + results[i] += "\n\t " + source.AudioUrl + } } } else { results[i] = color.StrikeThrough + results[i] + color.Reset