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)