aboutsummaryrefslogtreecommitdiff
path: root/addons/metadata.musicvideos.theaudiodb.com/tadb.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/metadata.musicvideos.theaudiodb.com/tadb.xml')
-rw-r--r--addons/metadata.musicvideos.theaudiodb.com/tadb.xml42
1 files changed, 42 insertions, 0 deletions
diff --git a/addons/metadata.musicvideos.theaudiodb.com/tadb.xml b/addons/metadata.musicvideos.theaudiodb.com/tadb.xml
new file mode 100644
index 0000000000..2305e2d09b
--- /dev/null
+++ b/addons/metadata.musicvideos.theaudiodb.com/tadb.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<scraper framework="1.1" date="2012-06-10">
+ <CreateSearchUrl dest="3">
+ <RegExp input="$$1" output="&lt;url&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/searchtrack.php?s=\1&t=\2&lt;/url&gt;" dest="3">
+ <expression trim="1,2">(.+)%20%20%20(.+)</expression>
+ </RegExp>
+ </CreateSearchUrl>
+ <GetSearchResults dest="3">
+ <RegExp input="$$5" output="&lt;results&gt;\1&lt;/results&gt;" dest="3">
+ <RegExp input="$$1" output="&lt;entity&gt;&lt;title&gt;\5 - \3 [\4]&lt;/title&gt;&lt;url cache=&quot;tadb-\1.json&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/track.php?h=\1&lt;/url&gt;&lt;/entity&gt;" dest="5">
+ <expression repeat="yes" clear="yes" fixchars="1" noclean="1">idTrack&quot;:&quot;([^&quot;]*)&quot;,&quot;idAlbum&quot;:&quot;([^&quot;]*).*?&quot;strTrack&quot;:&quot;([^&quot;]*)&quot;,&quot;strAlbum&quot;:&quot;([^&quot;]*)&quot;,&quot;strArtist&quot;:&quot;([^&quot;]*)</expression>
+ </RegExp>
+ <expression noclean="1" />
+ </RegExp>
+ </GetSearchResults>
+ <GetDetails dest="3">
+ <RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="3">
+ <RegExp input="$$1" output="&lt;title&gt;\1&lt;/title&gt;" dest="5">
+ <expression fixchars="1" noclean="1">strTrack&quot;:&quot;([^&quot;]*)&quot;</expression>
+ </RegExp>
+ <RegExp input="$$1" output="&lt;artist&gt;\1&lt;/artist&gt;" dest="5+">
+ <expression fixchars="1" noclean="1">strArtist&quot;:&quot;([^&quot;]*)&quot;</expression>
+ </RegExp>
+ <RegExp input="$$1" output="&lt;album&gt;\1&lt;/album&gt;" dest="5+">
+ <expression fixchars="1" noclean="1">strAlbum&quot;:&quot;([^&quot;]*)&quot;</expression>
+ </RegExp>
+ <RegExp input="$$1" output="&lt;plot&gt;\1&lt;/plot&gt;" dest="5+">
+ <expression fixchars="1" noclean="1">strDescription&quot;:&quot;(.*?)&quot;,&quot;</expression>
+ </RegExp>
+ <RegExp input="$$1" output="&lt;genre&gt;\1&lt;/genre&gt;" dest="5+">
+ <expression fixchars="1" noclean="1">strGenre&quot;:&quot;([^&quot;]*)&quot;</expression>
+ </RegExp>
+ <RegExp input="$$1" output="&lt;thumb&gt;\1&lt;/thumb&gt;" dest="5+">
+ <expression fixchars="1" noclean="1">strTrackThumb&quot;:&quot;([^&quot;]*)&quot;</expression>
+ </RegExp>
+ <RegExp conditional="fanarttvalbumthumbs" input="$$1" output="&lt;chain function=&quot;GetFanartTvAlbumThumbsByMBID&quot;&gt;\1&lt;/chain&gt;" dest="5+">
+ <expression fixchars="1" noclean="1">strMusicBrainzAlbumID&quot;:&quot;([^&quot;]*)&quot;</expression>
+ </RegExp>
+ <expression noclean="1"/>
+ </RegExp>
+ </GetDetails>
+</scraper>