diff options
author | jmarshallnz <jmarshallnz@svn> | 2010-04-28 00:05:22 +0000 |
---|---|---|
committer | jmarshallnz <jmarshallnz@svn> | 2010-04-28 00:05:22 +0000 |
commit | 81d4a149d54d3b79f0449dad77264c642469f10d (patch) | |
tree | 39fabba02bee35f87b2cec1c149872f0719f5f79 /addons/metadata.common.allmusic.com/allmusic.xml | |
parent | d9e6ddf42d0d2787a93eaec8706e26a90d931f41 (diff) |
changed: paint the (system) addons bikeshed (moves - id's to come)
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29568 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'addons/metadata.common.allmusic.com/allmusic.xml')
-rw-r--r-- | addons/metadata.common.allmusic.com/allmusic.xml | 147 |
1 files changed, 147 insertions, 0 deletions
diff --git a/addons/metadata.common.allmusic.com/allmusic.xml b/addons/metadata.common.allmusic.com/allmusic.xml new file mode 100644 index 0000000000..01f37459d3 --- /dev/null +++ b/addons/metadata.common.allmusic.com/allmusic.xml @@ -0,0 +1,147 @@ +<scraperfunctions> + <GetAMGDiscography dest="5"> + <RegExp input="$$2$$3" output="<details>\1</details>" dest="5"> + <RegExp input="$$1" output="<album><year>\1</year><title>\3</title><label>\4</label></album>" dest="2"> + <expression repeat="yes" clear="yes" noclean="1,3,4">sorted-cell">([0-9]+)</td><td[^>]*>(<a href=[^>]*><img [^>]*/></a>|[^<]*)?</td><td[^>]*><a href=[^>]*>([^<]*)</a></td><td[^<]*</td><td[^>]*>([^<]+)</td></expression> + </RegExp> + <RegExp input="$$2" output="\1&amp;\2" dest="3"> + <expression noclean="1,2" repeat="yes">(.*?)&(.+)</expression> + </RegExp> + <RegExp input="$$3" output="" dest="2"> + <expression>(.+)</expression> + </RegExp> + <expression noclean="1"/> + </RegExp> + </GetAMGDiscography> + <GetAMGBiography dest="5"> + <RegExp input="$$2" output="<details>\1</details>" dest="5"> + <RegExp input="$$1" output="<biography>\1</biography>" dest="2"> + <expression clear="yes">Biography</td>.*?<p>(.*?)</p></expression> + </RegExp> + <expression noclean="1"/> + </RegExp> + </GetAMGBiography> + <GetAMGReview dest="5"> + <RegExp input="$$2" output="<details>\1</details>" dest="5"> + <RegExp input="$$1" output="<review>\1</review>" dest="2"> + <expression>Review</td>.*?<p>(.*?)</p></expression> + </RegExp> + <expression noclean="1"/> + </RegExp> + </GetAMGReview> + <ParseAMGArtist dest="3"> + <RegExp input="$$5" output="<details>\1</details>" dest="3"> + <RegExp input="$$1" output="<name>\1</name>" dest="5"> + <expression noclean="1"><TITLE>allmusic[ (]+ ([^>]*) > Overview</expression> + </RegExp> + <RegExp input="$$1" output="<born>\1</born>" dest="5+"> + <expression><span>Born.*?;">(.*?)</td></expression> + </RegExp> + <RegExp input="$$1" output="<died>\1</died>" dest="5+"> + <expression><span>Died.*?;">(.*?)</td></expression> + </RegExp> + <RegExp input="$$1" output="<formed>\1</formed>" dest="5+"> + <expression><span>Formed.*?;">(.*?)</td></expression> + </RegExp> + <RegExp input="$$1" output="<disbanded>\1</disbanded>" dest="5+"> + <expression><span>Disbanded.*?;">(.*?)</td></expression> + </RegExp> + <RegExp input="$$1" output="\1" dest="6"> + <expression noclean="1">Years Active-->([^!]*)<!--Years Active</expression> + </RegExp> + <RegExp input="$$6" output="\1's/" dest="7+"> + <expression repeat="yes"><div class="timeline-sub-active">([0-9]+)</div></expression> + </RegExp> + <RegExp input="$$7" output="<yearsactive>\1</yearsactive>" dest="5+"> + <expression noclean="1">(.+)/</expression> + </RegExp> + <RegExp input="$$1" output="\1" dest="6"> + <expression noclean="1">Genre Listing-->([^!]*)<!--Genre Listing</expression> + </RegExp> + <RegExp input="$$6" output="<genre>\1</genre>" dest="5+"> + <expression noclean="1" repeat="yes"><li>[^>]*>([^<]*)</a></li></expression> + </RegExp> + <RegExp input="$$1" output="\1" dest="7"> + <expression noclean="1">Style Listing-->([^!]*)<!--Style Listing</expression> + </RegExp> + <RegExp input="$$7" output="<style>\1</style>" dest="5+"> + <expression noclean="1" repeat="yes"><li>[^>]*>([^<]*)</a></li></expression> + </RegExp> + <RegExp input="$$1" output="\1" dest="8"> + <expression noclean="1">Moods Listing-->([^!]*)<!--Moods Listing</expression> + </RegExp> + <RegExp input="$$8" output="<mood>\1</mood>" dest="5+"> + <expression noclean="1" repeat="yes"><li>[^>]*>([^<]*)</a></li></expression> + </RegExp> + <RegExp input="$$1" output="\1" dest="9"> + <expression noclean="1">Instruments Listing-->([^!]*)<!--Instruments Listing</expression> + </RegExp> + <RegExp input="$$9" output="<instruments>\1</instruments>" dest="5+"> + <expression noclean="1" repeat="yes"><li>[^>]*>([^<]*)</a></li></expression> + </RegExp> + <RegExp input="$$1" conditional="allmusicartistthumbs" output="<thumb>\1</thumb>" dest="5+"> + <expression noclean="1"><img src="([^"]*)" id="Picture"</expression> + </RegExp> + <RegExp input="$$1" conditional="allmusicartistthumbs" output="<thumb>http://image.allmusic.com/00/amg/pic200/dr\1\200/\1\2\3\4/\1\2\3\4\5.jpg</thumb>" dest="5+"> + <expression noclean="1" repeat="yes">"([A-Z^])([0-9^])([0-9^])([0-9^])([^"]*)"</expression> + </RegExp> + <expression noclean="1"/> + </RegExp> + </ParseAMGArtist> + <ParseAMGAlbum dest="3"> + <RegExp input="$$5" output="<details>\1</details>" dest="3"> + <RegExp input="$$1" output="<title>\1</title>" dest="5"> + <expression noclean="1"><TITLE>allmusic[ (]+ ([^>]*) > Overview</expression> + </RegExp> + <RegExp input="$$1" output="<artist>\1</artist>" dest="5+"> + <expression noclean="1"><span>Artist</span>[^;]*[^>]*>[^>]*>([^<]*)</expression> + </RegExp> + <RegExp input="$$1" output="<rating>\1</rating>" dest="5+"> + <expression noclean="1"><span>Rating</span>[^_]*_r([0-9^]*)</expression> + </RegExp> + <RegExp input="$$1" output="<label>\1</label>" dest="5+"> + <expression noclean="1"><span>Label</span>[^;]*[^>]*>([^<]*)</expression> + </RegExp> + <RegExp input="$$1" output="<type>\1</type>" dest="5+"> + <expression noclean="1"><span>Type</span>[^;]*[^>]*>([^<]*)</expression> + </RegExp> + <RegExp input="$$1" output="<releasedate>\1</releasedate>" dest="5+"> + <expression noclean="1"><span>Release Date</span>[^;]*[^>]*>([^<]*)</expression> + </RegExp> + <RegExp input="$$1" output="<year>\1</year>" dest="5+"> + <expression noclean="1"><span>Release Date.*?([0-9]+)</</expression> + </RegExp> + <RegExp input="$$1" output="\1" dest="6"> + <expression noclean="1">Genre[s]* Listing-->([^!]*)<!--Genre[s]* Listing</expression> + </RegExp> + <RegExp input="$$6" output="<genre>\1</genre>" dest="5+"> + <expression noclean="1" repeat="yes"><li>[^>]*>([^<]*)</a></li></expression> + </RegExp> + <RegExp input="$$1" output="\1" dest="7"> + <expression noclean="1">Style[s]* Listing-->([^!]*)<!--Style[s]* Listing</expression> + </RegExp> + <RegExp input="$$7" output="<style>\1</style>" dest="5+"> + <expression noclean="1" repeat="yes"><li>[^>]*>([^<]*)</a></li></expression> + </RegExp> + <RegExp input="$$1" output="\1" dest="8"> + <expression noclean="1">Mood[s]* Listing-->([^!]*)<!--Mood[s]* Listing</expression> + </RegExp> + <RegExp input="$$8" output="<mood>\1</mood>" dest="5+"> + <expression noclean="1" repeat="yes"><li>[^>]*>([^<]*)</a></li></expression> + </RegExp> + <RegExp input="$$1" output="\1" dest="9"> + <expression noclean="1">Theme[s]* Listing-->([^!]*)<!--Theme[s]* Listing</expression> + </RegExp> + <RegExp input="$$9" output="<theme>\1</theme>" dest="5+"> + <expression noclean="1" repeat="yes"><li>[^>]*>([^<]*)</a></li></expression> + </RegExp> + <RegExp input="$$1" output="<track><position>\1</position><title>\3</title><duration>\4</duration></track>" dest="5+"> + <expression noclean="1,2,3" repeat="yes">"cell">([0-9]+)</.*?sql=([0-9:a-z]*)">(.*?)</a>.*?"right".*?>(.*?)</</expression> + </RegExp> + <RegExp input="$$1" conditional="allmusicalbumthumbs" output="<thumb>http://image.allmusic.com/\1</thumb>" dest="5+"> + <expression noclean="1">http://image.allmusic.com/([^"]*)"</expression> + </RegExp> + <expression noclean="1"/> + </RegExp> + </ParseAMGAlbum> +</scraperfunctions> |