From 8d0ed9774285084d0a55e5c30ae18680186db76a Mon Sep 17 00:00:00 2001 From: Alexander Yakushev Date: Tue, 26 Jul 2011 22:27:33 +0300 Subject: Final bugfixes and updated rcsample.lua --- jamendo.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jamendo.lua') diff --git a/jamendo.lua b/jamendo.lua index 2e83589..f495006 100644 --- a/jamendo.lua +++ b/jamendo.lua @@ -77,7 +77,7 @@ function get_default_mp3_stream() local trygetlink = perform_request("echo $(curl -w %{redirect_url} " .. "'http://api.jamendo.com/get2/stream/track/redirect/" .. - "?streamencoding="..format.."&id=729304')") + "?streamencoding="..FORMAT_MP3.value.."&id=729304')") local _, _, prefix = string.find(trygetlink,"stream(%d+)\.jamendo\.com") default_mp3_stream = { id = prefix, last_checked = os.time() } end -- cgit v1.2.3