Commit 922c1bc9 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

MusicBrainz: use the MB release ID if exists

parent 45d50c43
...@@ -63,10 +63,8 @@ function fetch_art() ...@@ -63,10 +63,8 @@ function fetch_art()
local releaseid = nil local releaseid = nil
for _, k in ipairs({"MUSICBRAINZ_ALBUMID", "MusicBrainz Album Id"}) do if meta["MB_ALBUMID"] then
if meta[k] then releaseid = meta["MB_ALBUMID"]
releaseid = meta[k]
end
end end
if not releaseid and meta["artist"] and meta["album"] then if not releaseid and meta["artist"] and meta["album"] then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment