Hi all, attached is a patch that adds support for scraping multiartis
releases, and releases that may feature an artist named differently in
musicbrainz.

For instance, "Ludwig Van Beethoven" can be credited in a releease as just
"Beethoven", like in
http://musicbrainz.org/release-group/6c50dfb0-9a22-4e38-b55b-7028be46049f

Regards,
Rodro
diff --git a/metadata.album.universal/albumuniversal.xml b/metadata.album.universal/albumuniversal.xml
index 46f9c6f..02b2797 100644
--- a/metadata.album.universal/albumuniversal.xml
+++ b/metadata.album.universal/albumuniversal.xml
@@ -11,12 +11,12 @@
 		</RegExp>
 	</ResolveIDToUrl>
 	<CreateAlbumSearchUrl dest="3">
-		<RegExp input="$$1" output="&lt;url&gt;http://search.musicbrainz.org/ws/2/release/?fmt=xml&amp;query=release:&quot;\1&quot;%20AND%20artist:&quot;$$4&quot;&lt;/url&gt;"; dest="3">
+		<RegExp input="$$1" output="&lt;url&gt;http://search.musicbrainz.org/ws/2/release/?fmt=xml&amp;query=release:%22\1%22%20AND%20(artistname:%22$$4%22%20OR%20artist:%22$$4%22)&lt;/url&gt;" dest="3">
 			<RegExp input="$$2" output="\1" dest="4">
 				<expression noclean="1">(.+)</expression>
 			</RegExp>
 			<RegExp input="$$2" output="\1" dest="6">
-				<expression noclean="1">(.+)(?:Ft%2e|Feat%2e|%20Ft\.|%20Feat\.|%20and%20)</expression>
+				<expression noclean="1">(.+)(?:Ft%2e|Feat%2e|%20Ft\.|%20Feat\.|%20and%20|%20\/)</expression>
 			</RegExp>
 			<RegExp input="$$6" output="\1" dest="4">
 				<expression>(.+)</expression>
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Xbmc-addons mailing list
Xbmc-addons@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to