]> git.sesse.net Git - vlc/commit
musicbrainz.lua: Use get_releaseid even if the album title is known
authorWieland Hoffmann <themineo@gmail.com>
Sun, 12 Jan 2014 22:04:07 +0000 (23:04 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 13 Jan 2014 22:17:59 +0000 (23:17 +0100)
commitf18236eee239fa8b57641ba82f20576ab244202f
treebfa5d1c9dbee7e9065b308f91c627d90d5d5a2c0
parentc50c436760afcb4c16456f6002a1d75d36c1a313
musicbrainz.lua: Use get_releaseid even if the album title is known

This renames `try_release` to `get_releaseid` and uses it to find the
MusicBrainz Identifier. That MBID is later used in the query passed to
try_query.

Not using the ASIN returned from the search server in the get_releaseid
call means one additional request is performed in the case that both the
artist and the album name are already known.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
share/lua/meta/art/00_musicbrainz.lua