From 1aebcfce77b3a3b85a7cd843c2cbd79cf5101c00 Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Sat, 26 Sep 2015 16:51:44 +0100 Subject: [PATCH] Fixing build issue --- youtube_dl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl.go b/youtube_dl.go index d7110bd..9217529 100644 --- a/youtube_dl.go +++ b/youtube_dl.go @@ -87,7 +87,7 @@ func (dl *YouTubeSong) Play() { panic(err) } else { message := `` - message = fmt.Sprintf(message, dl.thumbnail, dl.url, dl.title, dl.duration.String(), dl.submitter.Name) + message = fmt.Sprintf(message, dl.thumbnail, dl.url, dl.title, dl.Duration().String(), dl.submitter.Name) if !isNil(dl.playlist) { message = fmt.Sprintf(message+``, dl.Playlist().Title()) }
%s (%s)
Added by %s
From playlist "%s"