From 4f14cfdd0f5f47debbd9d3de04f8c0de0ea5fd94 Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Fri, 25 Sep 2015 17:48:04 +0100 Subject: [PATCH] Added dot for output filename --- youtube_dl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl.go b/youtube_dl.go index 630e861..0a359e9 100644 --- a/youtube_dl.go +++ b/youtube_dl.go @@ -159,7 +159,7 @@ func (dl *YouTubeSong) ID() string { // Filename returns the filename of the Song. func (dl *YouTubeSong) Filename() string { - return dl.id + dl.format + return dl.id + "." + dl.format } // Duration returns the duration of the Song.