Merge pull request #4844 from fritsch/gotham-backport-fix-dvdplayer
[vuplus_xbmc] / addons / metadata.common.hdtrailers.net / hdtrailers.xml
1 <scraperfunctions>
2         <GetHDTrailersnet480p dest="3">
3                 <RegExp input="$$6" output="&lt;details&gt;&lt;url function=&quot;Parse480pTrailer&quot; cache=&quot;hd-trailers-\1.xml&quot;&gt;http://xbmc.hd-trailers.net/movie/\1&lt;/url&gt;&lt;/details&gt;" dest="3">
4                         <RegExp input="$$1" output="\1-" dest="6">
5                                 <expression repeat="yes" trim="1">([\w]+)</expression>
6                         </RegExp>
7                         <expression noclean="1" />
8                 </RegExp>
9         </GetHDTrailersnet480p>
10         <GetHDTrailersnet720p dest="3">
11                 <RegExp input="$$6" output="&lt;details&gt;&lt;url function=&quot;Parse720pTrailer&quot; cache=&quot;hd-trailers-\1.xml&quot;&gt;http://xbmc.hd-trailers.net/movie/\1&lt;/url&gt;&lt;/details&gt;" dest="3">
12                         <RegExp input="$$1" output="\1-" dest="6">
13                                 <expression repeat="yes" trim="1">([\w]+)</expression>
14                         </RegExp>
15                         <expression noclean="1" />
16                 </RegExp>
17         </GetHDTrailersnet720p>
18         <GetHDTrailersnet1080p dest="3">
19                 <RegExp input="$$6" output="&lt;details&gt;&lt;url function=&quot;Parse1080pTrailer&quot; cache=&quot;hd-trailers-\1.xml&quot;&gt;http://xbmc.hd-trailers.net/movie/\1&lt;/url&gt;&lt;/details&gt;" dest="3">
20                         <RegExp input="$$1" output="\1-" dest="6">
21                                 <expression repeat="yes" trim="1">([\w]+)</expression>
22                         </RegExp>
23                         <expression noclean="1" />
24                 </RegExp>
25         </GetHDTrailersnet1080p>
26         <Parse480pTrailer dest="5">
27                 <RegExp input="$$6" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
28                         <!--fetch 480p trailer link from hdtrailers.net-->
29                         <RegExp input="$$1" output="&lt;trailer&gt;http://pdl.stream.aol.com/\1&lt;/trailer&gt;" dest="6">
30                                 <expression noclean="1">http://pdl\.stream\.aol\.com/([^&quot;]*?_480p_dl.mov)"\srel=&quot;lightbox\[res480p</expression>
31                         </RegExp>
32                         <expression noclean="1" />
33                 </RegExp>
34         </Parse480pTrailer>
35         <Parse720pTrailer dest="5">
36                 <RegExp input="$$6" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
37                         <!--Fallback to fetch 480p trailer link if 720p is not available-->
38                         <RegExp input="$$1" output="&lt;trailer&gt;http://pdl.stream.aol.com/\1&lt;/trailer&gt;" dest="6">
39                                 <expression noclean="1">http://pdl\.stream\.aol\.com/([^&quot;]*?_480p_dl.mov)"\srel=&quot;lightbox\[res480p</expression>
40                         </RegExp>
41                         <!--Fetch 720p trailer link from hdtrailers.net-->
42                         <RegExp input="$$1" output="&lt;trailer&gt;http://pdl.stream.aol.com/\1&lt;/trailer&gt;" dest="6">
43                                 <expression noclean="1">http://pdl\.stream\.aol\.com/([^&quot;]*?_720p_dl.mov)"\srel=&quot;lightbox\[res720p</expression>
44                         </RegExp>
45                         <expression noclean="1" />
46                 </RegExp>
47         </Parse720pTrailer>
48         <Parse1080pTrailer dest="5">
49                 <RegExp input="$$6" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
50                         <!--Fallback to fetch 480p trailer link if 720p and 1080p are not available-->
51                         <RegExp input="$$1" output="&lt;trailer&gt;http://pdl.stream.aol.com/\1&lt;/trailer&gt;" dest="6">
52                                 <expression noclean="1">http://pdl\.stream\.aol\.com/([^&quot;]*?_480p_dl.mov)"\srel=&quot;lightbox\[res480p</expression>
53                         </RegExp>
54                         <!--Fetch 720p trailer link from hdtrailers.net-->
55                         <RegExp input="$$1" output="&lt;trailer&gt;http://pdl.stream.aol.com/\1&lt;/trailer&gt;" dest="6">
56                                 <expression noclean="1">http://pdl\.stream\.aol\.com/([^&quot;]*?_720p_dl.mov)"\srel=&quot;lightbox\[res720p</expression>
57                         </RegExp>
58                         <!--Fetch 1080p trailer link from hdtrailers.net-->
59                         <RegExp input="$$1" output="&lt;trailer&gt;http://pdl.stream.aol.com/\1&lt;/trailer&gt;" dest="6">
60                                 <expression noclean="1">http://pdl\.stream\.aol\.com/([^&quot;]*?_1080p_dl.mov)"\srel=&quot;lightbox\[res1080p</expression>
61                         </RegExp>
62                         <expression noclean="1" />
63                 </RegExp>
64         </Parse1080pTrailer>
65 </scraperfunctions>