Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
f22fba29
Commit
f22fba29
authored
Aug 17, 2010
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jamendo: also get the artist along with the list of songs for one album.
parent
8532c923
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
share/lua/sd/jamendo.lua
share/lua/sd/jamendo.lua
+1
-1
No files found.
share/lua/sd/jamendo.lua
View file @
f22fba29
...
...
@@ -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+a
lbum_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+a
rtist_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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment