mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-25 14:37:59 +01:00
Fixed playlist download url generation
This commit is contained in:
parent
590a691bc5
commit
378584261d
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ class Playlist extends Model
|
||||||
|
|
||||||
public function getDownloadUrl($format)
|
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)
|
public function getFilesize($format)
|
||||||
|
|
Loading…
Reference in a new issue