From 4520bac5140fe4684c5d4cf691e5e6e328724232 Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Thu, 13 Aug 2015 14:57:12 +0100 Subject: [PATCH] Soundcloud API works, just no music [ci skip] --- youtube_dl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl.go b/youtube_dl.go index abb294e..c1685ee 100644 --- a/youtube_dl.go +++ b/youtube_dl.go @@ -74,7 +74,7 @@ func (dl *YouTubeDLSong) Play() { panic(err) } else { message := `` - message = fmt.Sprintf(message, dl.thumbnail, dl.url, dl.title, dl.duration, dl.submitter) + message = fmt.Sprintf(message, dl.thumbnail, dl.url, dl.title, dl.duration, dl.submitter.Name) if !isNil(dl.playlist) { message = fmt.Sprintf(message+``, dl.playlist.Title()) }
%s (%s)
Added by %s
From playlist "%s"