diff options
author | night199uk <night199uk@xbmc.org> | 2013-05-01 01:47:08 +0800 |
---|---|---|
committer | night199uk <night199uk@xbmc.org> | 2013-05-02 00:36:35 +0800 |
commit | 361696a2d04025bfa2f9e5822baca9e843f07a29 (patch) | |
tree | d575f8d42ea45367c9b5f22776c08efc7553f62b /addons/metadata.album.universal/albumuniversal.xml | |
parent | 6297c69926a11ff39158a9272cb2dabab8db27d2 (diff) |
[musicdb] update scrapers to support musicbrainz lookups
Diffstat (limited to 'addons/metadata.album.universal/albumuniversal.xml')
-rw-r--r-- | addons/metadata.album.universal/albumuniversal.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/addons/metadata.album.universal/albumuniversal.xml b/addons/metadata.album.universal/albumuniversal.xml index 94ed3db07c..b42a21ed5a 100644 --- a/addons/metadata.album.universal/albumuniversal.xml +++ b/addons/metadata.album.universal/albumuniversal.xml @@ -5,6 +5,11 @@ <expression>release/(.+)</expression> </RegExp> </NfoUrl> + <ResolveIDToUrl dest="3"> + <RegExp input="$$1" output="<url>http://musicbrainz.org/ws/2/release/\1?inc=recordings+release-groups+artists+labels+ratings</url>" dest="3"> + <expression>(.+)</expression> + </RegExp> + </ResolveIDToUrl> <CreateAlbumSearchUrl dest="3"> <RegExp input="$$1" output="<url>http://search.musicbrainz.org/ws/2/release/?fmt=xml&query=release:\1%20AND%20artist:"$$4"</url>" dest="3"> <RegExp input="$$2" output="\1" dest="4"> @@ -57,6 +62,9 @@ <RegExp input="$$3" output="<chain function="GetMBAlbumTitleByMBID">\1</chain>" dest="5"> <expression noclean="1">(.+)</expression> </RegExp> + <RegExp input="$$3" output="<chain function="GetMBAlbumArtistsByMBID">\1</chain>" dest="5+"> + <expression noclean="1">(.+)</expression> + </RegExp> <RegExp input="$$3" output="<chain function="GetMBAlbumArtistByMBID">\1</chain>" dest="5+"> <expression noclean="1">(.+)</expression> </RegExp> |