We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 894ce8ac authored by Mike Sheldon's avatar Mike Sheldon

Fix track page link generation in radio playlists

parent 51497e11
......@@ -154,8 +154,8 @@ function make_playlist($session, $old_format=false) {
$radiotracks[$i]['image'] = $album->image;
$radiotracks[$i]['artisturl'] = Server::getArtistURL($row['artist_name']);
$radiotracks[$i]['albumurl'] = $album->getURL();
$radiotracks[$i]['trackurl'] = Server::getTrackURL($row['artist_name'], $album->name, $row['track_name']);
$radiotracks[$i]['downloadurl'] = Server::getTrackURL($row['artist_name'], $album->name, $row['track_name']);
$radiotracks[$i]['trackurl'] = Server::getTrackURL($row['artist_name'], $album->name, $row['name']);
$radiotracks[$i]['downloadurl'] = Server::getTrackURL($row['artist_name'], $album->name, $row['name']);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment