Advertisement
Guest User

Untitled

a guest
May 16th, 2012
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 5.49 KB | None | 0 0
  1. --- anidb.xml   Wed Apr 25 12:37:41 2012
  2. +++ anidb.xml   Sun May 13 15:22:36 2012
  3. @@ -653,21 +653,30 @@
  4.          <expression clear="yes"/>
  5.        </RegExp>
  6.        <RegExp conditional="Fanarts" input="$$18" output="\1" dest="16">
  7. -        <expression noclean="1">(?i)(&lt;fanart.*?&lt;/fanart&gt;)</expression>
  8. +        <expression noclean="1">(?i)&lt;fanart&gt;(.*)&lt;/fanart&gt;</expression>
  9.        </RegExp>
  10.        <RegExp input="$$20" output="&lt;episodeguide&gt;&lt;url gzip=&quot;yes&quot; cache=&quot;$$20.xml&quot;&gt;http://api.anidb.net:9001/httpapi?request=anime&amp;client=xbmcscrap&amp;clientver=1&amp;protover=1&amp;aid=$$20&lt;/url&gt;&lt;/episodeguide&gt;" dest="8+">
  11.          <expression/>
  12.        </RegExp>
  13. -      <RegExp input="$$20" output="&lt;url function=&quot;GetTVDBLookupAPI&quot; cache=&quot;$$20.xml&quot;&gt;&amp;&lt;/url&gt;" dest="6">
  14. -        <expression clear="yes"/>
  15. +      <RegExp input="$$19" output="" dest="12">
  16. +        <expression clear="yes">(?i)imdbid=&quot;([^&quot;]*)&quot;</expression>
  17. +      </RegExp>
  18. +      <RegExp input="$$19" output="" dest="12">
  19. +        <expression>(?i)tmdbid=&quot;([^&quot;]*)&quot;</expression>
  20.        </RegExp>
  21.        <RegExp input="$$19" output="\1" dest="19">
  22.          <expression clear="yes">(?i)tvdbid=&quot;([^&quot;]*)&quot;</expression>
  23.        </RegExp>
  24. -      <RegExp input="$$19" output="&lt;url function=&quot;GetFanartDataAPI&quot; cache=&quot;tvdb-$$20.xml&quot;&gt;http://www.thetvdb.com/api/1D62F2F90030C444/series//all/en.zip&lt;/url&gt;" dest="6">
  25. +      <RegExp input="$$12$$19" output="&lt;url function=&quot;GetTVDBLookupAPI&quot; cache=&quot;$$20.xml&quot;&gt;&amp;&lt;/url&gt;" dest="6">
  26. +        <expression clear="yes">(?!.)</expression>
  27. +      </RegExp>
  28. +      <RegExp conditional="Fanarts" input="$$12" output="&lt;url function=&quot;GetTMDBFanartAPI&quot; cache=&quot;tmdb-images-$$20-.json&quot;&gt;http://api.themoviedb.org/3/movie//images?api_key=57983e31fb435df4df77afb854740ea9&lt;/url&gt;" dest="6">
  29. +        <expression repeat="yes">((?:tt)?\d+),?</expression>
  30. +      </RegExp>
  31. +      <RegExp input="$$19" output="&lt;url function=&quot;GetFanartDataAPI&quot; cache=&quot;tvdb-$$20.xml&quot;&gt;http://www.thetvdb.com/api/1D62F2F90030C444/series//all/en.zip&lt;/url&gt;" dest="6+">
  32.          <expression>(\d+)</expression>
  33.        </RegExp>
  34. -      <RegExp input="$$19" output="&lt;url function=&quot;GetFanartDataReturnAPI&quot; cache=&quot;$$20.xml&quot;&gt;&amp;&lt;/url&gt;" dest="6">
  35. +      <RegExp input="$$19" output="&lt;url function=&quot;GetFanartDataReturnAPI&quot; cache=&quot;$$20.xml&quot;&gt;&amp;&lt;/url&gt;" dest="6+">
  36.          <expression>[^\d]+</expression>
  37.        </RegExp>
  38.        <RegExp input="$$6" output="\1" dest="8+">
  39. @@ -693,6 +702,7 @@
  40.      $$15 ... List of thumbs
  41.      $$14 ... List of banners
  42.      $$13 ... Direct call to GetFanartDataAPI (true/false)
  43. +    $$12 ... IMDb/TMDb anime id
  44.    -->
  45.  
  46.    <GetTVDBLookupAPI clearbuffers="no" dest="4">
  47. @@ -838,7 +848,7 @@
  48.    </GetFanartAPI>
  49.  
  50.    <GetFanartDataReturnAPI clearbuffers="no" dest="4">
  51. -    <RegExp input="$$6$$5$$16" output="&lt;details&gt;&lt;/details&gt;" dest="4">
  52. +    <RegExp input="$$6$$5&lt;fanart&gt;$$16&lt;/fanart&gt;" output="&lt;details&gt;&lt;/details&gt;" dest="4">
  53.        <RegExp input="$INFO[IdFrom]-$$19" output="&lt;id&gt;\1&lt;/id&gt;" dest="6">
  54.          <expression clear="yes">TheTVDB\.com-(\d+)</expression>
  55.        </RegExp>
  56. @@ -863,8 +873,8 @@
  57.        <RegExp input="$$1" output="\1" dest="5">
  58.          <expression clear="yes" noclean="1">(?i)&lt;Banners&gt;(.*?)&lt;/Banners&gt;</expression>
  59.        </RegExp>
  60. -      <RegExp conditional="Fanarts" input="$$6" output="&lt;fanart url=&quot;http://thetvdb.com/banners/&quot;&gt;&lt;/fanart&gt;" dest="16+">
  61. -        <RegExp input="$$5" output="&lt;thumb dim=&quot;\2&quot; colors=&quot;\3&quot; preview=&quot;_cache/&quot;&gt;&lt;/thumb&gt;" dest="6">
  62. +      <RegExp conditional="Fanarts" input="$$6" output="" dest="16+">
  63. +        <RegExp input="$$5" output="&lt;thumb dim=&quot;\2&quot; colors=&quot;\3&quot; preview=&quot;http://thetvdb.com/banners/_cache/&quot;&gt;http://thetvdb.com/banners/&lt;/thumb&gt;" dest="6">
  64.            <expression clear="yes" repeat="yes">(?i)&lt;BannerPath&gt;([^&lt;]*)&lt;/BannerPath&gt;[^&lt;]*&lt;BannerType&gt;fanart&lt;/BannerType&gt;[^&lt;]*&lt;BannerType2&gt;([^&lt;]*)&lt;/BannerType2&gt;[^&lt;]*&lt;Colors&gt;([^&lt;]*)&lt;/Colors&gt;</expression>
  65.          </RegExp>
  66.          <expression noclean="1">(.+)</expression>
  67. @@ -908,6 +918,21 @@
  68.        <expression noclean="1"/>
  69.      </RegExp>
  70.    </GetFanartDataAPI>
  71. +  
  72. +  <GetTMDBFanartAPI clearbuffers="no" dest="4">
  73. +    <RegExp input="" output="&lt;details&gt;&lt;details&gt;" dest="4">
  74. +      <RegExp input="$$9" output="" dest="16+">
  75. +        <RegExp input="$$1" output="" dest="7">
  76. +          <expression clear="yes" noclean="1">&quot;backdrops&quot;:\[{([^\]]*)</expression>
  77. +        </RegExp>
  78. +        <RegExp input="$$7" output="&lt;thumb preview=&quot;http://cf2.imgobject.com/t/p/w780&quot;&gt;http://cf2.imgobject.com/t/p/original&lt;/thumb&gt;" dest="9">
  79. +          <expression repeat="yes" noclean="1">&quot;file_path&quot;:&quot;([^&quot;]*)</expression>
  80. +        </RegExp>
  81. +        <expression noclean="1">(.+)</expression>
  82. +      </RegExp>
  83. +     <expression/>
  84. +    </RegExp>
  85. +  </GetTMDBFanartAPI>
  86.    
  87.    <GetEpisodeList clearbuffers="yes" dest="4">
  88.      <RegExp input="$$8" output="&lt;episodeguide&gt;\1&lt;/episodeguide&gt;" dest="4">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement