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"