Commit 7bc5670f authored by Matt Lee's avatar Matt Lee

Fix stream/download links

parent 1433d9fc
......@@ -10,7 +10,8 @@ function resolve_external_url($url) {
function process_jamendo_url($url) {
if (substr($url, 10, 13) == 'track/stream/') {
$id = substr($url, 23);
return 'http://gigue.rrbone.net/' . $id . '.ogg2';
// return 'http://gigue.rrbone.net/' . $id . '.ogg2';
return 'https://mp3l.jamendo.com/?trackid=' . $id . '&format=ogg2';
}
if (substr($url, 10, 15) == 'album/download/') {
......
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