[vlc-commits] MusicBrainz: use the MB release ID if exists
Jean-Baptiste Kempf
git at videolan.org
Thu Feb 6 21:47:39 CET 2014
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Feb 6 21:40:03 2014 +0100| [922c1bc9484427c1cb21296d22f0ace748c69fd2] | committer: Jean-Baptiste Kempf
MusicBrainz: use the MB release ID if exists
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=922c1bc9484427c1cb21296d22f0ace748c69fd2
---
share/lua/meta/art/00_musicbrainz.lua | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/share/lua/meta/art/00_musicbrainz.lua b/share/lua/meta/art/00_musicbrainz.lua
index 0523ec4..a94cca9 100644
--- a/share/lua/meta/art/00_musicbrainz.lua
+++ b/share/lua/meta/art/00_musicbrainz.lua
@@ -63,10 +63,8 @@ function fetch_art()
local releaseid = nil
- for _, k in ipairs({"MUSICBRAINZ_ALBUMID", "MusicBrainz Album Id"}) do
- if meta[k] then
- releaseid = meta[k]
- end
+ if meta["MB_ALBUMID"] then
+ releaseid = meta["MB_ALBUMID"]
end
if not releaseid and meta["artist"] and meta["album"] then
More information about the vlc-commits
mailing list