diff options
Diffstat (limited to 'addons/metadata.common.fanart.tv/fanarttv.xml')
-rw-r--r-- | addons/metadata.common.fanart.tv/fanarttv.xml | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/addons/metadata.common.fanart.tv/fanarttv.xml b/addons/metadata.common.fanart.tv/fanarttv.xml new file mode 100644 index 0000000000..f5b6faf364 --- /dev/null +++ b/addons/metadata.common.fanart.tv/fanarttv.xml @@ -0,0 +1,58 @@ +<scraperfunctions> + <GetFanartTvArtistThumbsByMBID dest="5" clearbuffers="no"> + <RegExp input="$$1" output="<details><url function="ParseFanartTvArtistThumbs" cache="fanarttv-artistimages-\1.xml">http://fanart.tv/webservice/artist/ed4b784f97227358b31ca4dd966a04f1/\1/xml/</url></details>" dest="5"> + <expression noclean="1" /> + </RegExp> + </GetFanartTvArtistThumbsByMBID> + <ParseFanartTvArtistThumbs dest="5" clearbuffers="no"> + <RegExp input="$$13" output="<details>\1</details>" dest="5"> + <RegExp input="" output="" dest="13"> + <expression /> + </RegExp> + <RegExp input="$$1" output="<thumb preview="\1/preview">\1</thumb>" dest="13"> + <expression repeat="yes" noclean="1"><artistthumb id="[^"]*" url="([^"]*)</expression> + </RegExp> + <expression noclean="1" /> + </RegExp> + </ParseFanartTvArtistThumbs> + + <GetFanartTvArtistFanartsByMBID dest="5" clearbuffers="no"> + <RegExp input="$$1" output="<details><url function="ParseFanartTvArtistFanarts" cache="fanarttv-artistimages-\1.xml">http://fanart.tv/webservice/artist/ed4b784f97227358b31ca4dd966a04f1/\1/xml/</url></details>" dest="5"> + <expression noclean="1" /> + </RegExp> + </GetFanartTvArtistFanartsByMBID> + <ParseFanartTvArtistFanarts dest="5" clearbuffers="no"> + <RegExp input="$$13" output="<details><fanart>\1</fanart></details>" dest="5"> + <RegExp input="" output="" dest="13"> + <expression /> + </RegExp> + <RegExp input="" output="" dest="14"> + <expression /> + </RegExp> + <RegExp input="$$1" output="<thumb preview="\1/preview">\1</thumb>" dest="14"> + <expression repeat="yes" noclean="1"><artistbackground id="[^"]*" url="([^"]*)</expression> + </RegExp> + <RegExp input="$$14" output="\1" dest="13"> + <expression noclean="1">(.+)</expression> + </RegExp> + <expression noclean="1" /> + </RegExp> + </ParseFanartTvArtistFanarts> + + <GetFanartTvAlbumThumbsByMBID dest="5" clearbuffers="no"> + <RegExp input="$$1" output="<details><url function="ParseFanartTvAlbumThumbs" cache="fanarttv-albumimages-\1.xml">http://fanart.tv/webservice/album/ed4b784f97227358b31ca4dd966a04f1/\1/xml/</url></details>" dest="5"> + <expression noclean="1" /> + </RegExp> + </GetFanartTvAlbumThumbsByMBID> + <ParseFanartTvAlbumThumbs dest="5" clearbuffers="no"> + <RegExp input="$$13" output="<details>\1</details>" dest="5"> + <RegExp input="" output="" dest="13"> + <expression /> + </RegExp> + <RegExp input="$$1" output="<thumb preview="\1/preview">\1</thumb>" dest="13"> + <expression repeat="yes" noclean="1"><albumcover id="[^"]*" url="([^"]*)</expression> + </RegExp> + <expression noclean="1" /> + </RegExp> + </ParseFanartTvAlbumThumbs> +</scraperfunctions> |