[vlc-commits] commit: jamendo: also get the artist along with the list of songs for one album. ( Rémi Duraffort )

git at videolan.org git at videolan.org
Wed Aug 18 13:52:35 CEST 2010


vlc/vlc-1.1 | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Aug 17 21:38:07 2010 +0200| [4b5cdbb7560c9c2f022f94cf2383bd2ae2aa4e5c] | committer: Jean-Baptiste Kempf 

jamendo: also get the artist along with the list of songs for one album.
(cherry picked from commit f22fba29ed8bf8258978481b30dec721475da97c)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=4b5cdbb7560c9c2f022f94cf2383bd2ae2aa4e5c
---

 share/lua/sd/jamendo.lua |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/share/lua/sd/jamendo.lua b/share/lua/sd/jamendo.lua
index d76d005..5eff78e 100644
--- a/share/lua/sd/jamendo.lua
+++ b/share/lua/sd/jamendo.lua
@@ -62,7 +62,7 @@ function add_top_albums( album_order, tag, max_results )
     for _, album in ipairs( tree.children ) do
         simplexml.add_name_maps( album )
         local album_node = node:add_subitem(
-                { path     = 'http://api.jamendo.com/get2/id+name+duration+album_name+album_genre+album_dates+album_image/track/xml/?album_id=' .. album.children_map["id"][1].children[1],
+                { path     = 'http://api.jamendo.com/get2/id+name+duration+artist_name+album_name+album_genre+album_dates+album_image/track/xml/track_album+album_artist/?album_id=' .. album.children_map["id"][1].children[1],
                   title    = album.children_map["artist_name"][1].children[1] .. ' - ' .. album.children_map["name"][1].children[1],
                   arturl   = album.children_map["album_image"][1].children[1] })
     end



More information about the vlc-commits mailing list