From 7bc5670f833880cc5377dd572e418835254a29aa Mon Sep 17 00:00:00 2001 From: Matt Lee Date: Tue, 14 Jun 2016 10:34:09 -0500 Subject: [PATCH] Fix stream/download links --- nixtape/utils/resolve-external.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixtape/utils/resolve-external.php b/nixtape/utils/resolve-external.php index b199865a..6c57ec2c 100644 --- a/nixtape/utils/resolve-external.php +++ b/nixtape/utils/resolve-external.php @@ -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/') { -- 2.18.1