Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
7deea188
Commit
7deea188
authored
Jan 20, 2012
by
Konstantin Pavlov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Musicbrainz art fetcher: use version 2 API.
parent
da62ca94
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
share/lua/meta/art/04_musicbrainz.lua
share/lua/meta/art/04_musicbrainz.lua
+1
-1
No files found.
share/lua/meta/art/04_musicbrainz.lua
View file @
7deea188
...
@@ -54,6 +54,6 @@ function fetch_art()
...
@@ -54,6 +54,6 @@ function fetch_art()
return
nil
return
nil
end
end
local
query1
=
"http://mb.videolan.org/ws/
1/release/?type=xml&artist="
..
vlc
.
strings
.
encode_uri_component
(
meta
[
"artist"
])
..
"&title=
\""..vlc.strings.encode_uri_component(meta["
album
"].."
\
""
)
local
query1
=
"http://mb.videolan.org/ws/
2/release/?query=artist:"
..
vlc
.
strings
.
encode_uri_component
(
meta
[
"artist"
])
..
"%20AND%20release:
\""..vlc.strings.encode_uri_component(meta["
album
"].."
\
""
)
return
try_query
(
query1
)
return
try_query
(
query1
)
end
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