Project

General

Profile

Bug #261 » fixthumbscrapers.patch

patch against xbmc4xbox 3.3.3 - foresto, 29/10/2013 04:13 AM

View differences:

XBMC4XBOX-3.3.3-patched/system/scrapers/video/common/movieposterdb.xml 2013-10-28 20:54:27.741381000 -0700
<scraperfunctions>
<GetMoviePosterDBLink dest="6">
<RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;GetMoviePosterDBThumbs&quot;&gt;\1&lt;/url&gt;&lt;/details&gt;" dest="6">
<expression>(http://www.movieposterdb.com/movie/[^&quot;]*)&quot;</expression>
<RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;GetMoviePosterDBThumbs&quot;&gt;http://www.movieposterdb.com\1&lt;/url&gt;&lt;/details&gt;" dest="6">
<expression>(/movie/[^&quot;]*?)&quot;</expression>
</RegExp>
</GetMoviePosterDBLink>
<GetMoviePosterDBThumbs dest="5">
<RegExp input="$$6" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
<RegExp input="$$1" output="&lt;thumb&gt;\1l_\2&lt;/thumb&gt;" dest="6">
<expression repeat="yes" noclean="1,2">class=&quot;poster&quot;.*?src=&quot;(.*?)[a-z]_(.*?)&quot;</expression>
<expression repeat="yes" noclean="1,2">class=&quot;poster&quot;.*?src=&quot;([^&quot;]*?)[a-z]_(.*?)&quot;</expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
(1-1/2)