From 378584261d07bdaff25416ae6a80c09854402d2c Mon Sep 17 00:00:00 2001 From: Adam Lavin Date: Sat, 26 Dec 2015 03:00:43 +0000 Subject: [PATCH] Fixed playlist download url generation --- app/Playlist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Playlist.php b/app/Playlist.php index 309cff0a..f3c7c284 100644 --- a/app/Playlist.php +++ b/app/Playlist.php @@ -207,7 +207,7 @@ class Playlist extends Model public function getDownloadUrl($format) { - return action('PlaylistsController@getDownload', ['id' => $this->id]); + return action('PlaylistsController@getDownload', ['id' => $this->id, 'format' => Track::$Formats[$format]['extension']]); } public function getFilesize($format)