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()
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
......
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