aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--awesompd.lua2
-rw-r--r--jamendo.lua4
2 files changed, 3 insertions, 3 deletions
diff --git a/awesompd.lua b/awesompd.lua
index 10c45f3..5d7f6ac 100644
--- a/awesompd.lua
+++ b/awesompd.lua
@@ -1,7 +1,7 @@
---------------------------------------------------------------------------
-- @author Alexander Yakushev <yakushev.alex@gmail.com>
-- @copyright 2010-2011 Alexander Yakushev
--- @release v1.1.2
+-- @release v1.1.3
---------------------------------------------------------------------------
awesompd = {}
diff --git a/jamendo.lua b/jamendo.lua
index 164a7b8..4e2ca30 100644
--- a/jamendo.lua
+++ b/jamendo.lua
@@ -1,7 +1,7 @@
---------------------------------------------------------------------------
-- @author Alexander Yakushev <yakushev.alex@gmail.com>
-- @copyright 2011 Alexander Yakushev
--- @release v1.1.2
+-- @release v1.1.3
---------------------------------------------------------------------------
-- Grab environment
@@ -415,7 +415,7 @@ function fetch_album_cover_request(track_id)
string.sub(a_id, 1, string.len(a_id) - 3)
track.album_image =
string.format("http://imgjam.com/albums/s%s/%s/covers/1.100.jpg",
- prefix, a_id)
+ prefix == "" and 0 or prefix, a_id)
end
return file_path, string.format("wget %s -O %s > /dev/null",