The branch, dharma-pre has been updated
       via  e9800050754a94f9189e72718c2298964a2a2322 (commit)
      from  679d89cf7b9392df98b5929c30a7a2e99c0cb163 (commit)

- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scrapers;a=commit;h=e9800050754a94f9189e72718c2298964a2a2322

commit e9800050754a94f9189e72718c2298964a2a2322
Author: olympia <[email protected]>
Date:   Thu Oct 7 22:46:42 2010 +0200

    [metadata.port.hu] new search results structure for better auto-matching

diff --git a/metadata.port.hu/addon.xml b/metadata.port.hu/addon.xml
index cbabcbd..496804f 100644
--- a/metadata.port.hu/addon.xml
+++ b/metadata.port.hu/addon.xml
@@ -1,13 +1,13 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="metadata.port.hu"
        name="Port.hu"
-       version="1.2.1"
+       version="1.2.2"
        provider-name="Bence Nádas (olympia)">
   <requires>
     <import addon="xbmc.metadata" version="1.0"/>
     <import addon="metadata.common.themoviedb.org" version="1.0.7"/>
     <import addon="metadata.common.movieposterdb.com" version="1.0.4"/>
-    <import addon="metadata.common.imdb.com" version="2.0.1"/>
+    <import addon="metadata.common.imdb.com" version="2.0.4"/>
     <import addon="metadata.common.impa.com" version="1.0.3"/>
     <import addon="metadata.common.hdtrailers.net" version="1.0.4"/>
   </requires>
diff --git a/metadata.port.hu/changelog.txt b/metadata.port.hu/changelog.txt
index a3d3984..3d6cdbc 100644
--- a/metadata.port.hu/changelog.txt
+++ b/metadata.port.hu/changelog.txt
@@ -1,3 +1,9 @@
+[B]1.2.2[/B]
+Changed: New search results structure for better auto-matching
+
+[B]1.2.1[/B]
+Added: Polish translations
+
 [B]1.2.0[/B]
 Changed: adapt new IMDb layout
 
diff --git a/metadata.port.hu/porthu.xml b/metadata.port.hu/porthu.xml
index e22a147..78fe254 100644
--- a/metadata.port.hu/porthu.xml
+++ b/metadata.port.hu/porthu.xml
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<scraper framework="1.1" date="2010-06-21">
+<scraper framework="1.1" date="2010-10-07">
        <NfoUrl dest="3">
                <RegExp input="$$1" 
output="&lt;url&gt;http://www.port.hu/pls/fi/films.film_page?i_where=2&amp;i_film_id=\1&lt;/url&gt;";
 dest="3">
                        <expression clear="yes" 
noclean="1">i_film_id=([0-9]*)</expression>
@@ -27,8 +27,11 @@
                                <expression clear="yes" noclean="1">&lt;span 
class="blackbigtitle"&gt;([^&lt;]*)(&lt;/span&gt;\n&lt;br/&gt;&lt;span 
class="txt"&gt;([^&lt;]*))?</expression>
                        </RegExp>
                        <!--Search results if there are multiple matches-->
-                       <RegExp input="$$1" 
output="&lt;entity&gt;&lt;title&gt;\2 
\3&lt;/title&gt;&lt;year&gt;\6&lt;/year&gt;&lt;url&gt;http://www.port.hu/pls/fi/films.film_page?i_where=2&amp;i_film_id=\1&lt;/url&gt;&lt;/entity&gt;";
 dest="5">
-                               <expression repeat="yes" 
noclean="1">i_film_id=([\d]*)&amp;amp;i_city_id=-1&amp;amp;i_county_id=-1&amp;amp;i_topic_id=2"
 
target="_top"&gt;([^&lt;]*)[^&gt;]*.([^&lt;]*)?(((?!br).)*(19\d\d|20\d\d))?.*?&lt;/span&gt;</expression>
+                       <RegExp input="$$1" 
output="&lt;entity&gt;&lt;title&gt;\2&lt;/title&gt;&lt;year&gt;\5&lt;/year&gt;&lt;url&gt;http://www.port.hu/pls/fi/films.film_page?i_where=2&amp;i_film_id=\1&lt;/url&gt;&lt;/entity&gt;";
 dest="5">
+                               <expression repeat="yes" 
noclean="1">i_film_id=([\d]*)&amp;amp;i_city_id=-1&amp;amp;i_county_id=-1&amp;amp;i_topic_id=2"
 target="_top"&gt;[^&lt;]*[^&gt;]*&gt; 
\(([^\)]*)?(((?!br).)*(19\d\d|20\d\d))?.*?&lt;/span&gt;</expression>
+                       </RegExp>
+                       <RegExp input="$$1" 
output="&lt;entity&gt;&lt;title&gt;\2&lt;/title&gt;&lt;year&gt;\6&lt;/year&gt;&lt;url&gt;http://www.port.hu/pls/fi/films.film_page?i_where=2&amp;i_film_id=\1&lt;/url&gt;&lt;/entity&gt;";
 dest="5+">
+                               <expression repeat="yes" 
noclean="1">i_film_id=([\d]*)&amp;amp;i_city_id=-1&amp;amp;i_county_id=-1&amp;amp;i_topic_id=2"
 target="_top"&gt;(?:\()?([^&lt;\)]*)[^&gt;]*&gt;( 
\([^\)]*)?(((?!br).)*(19\d\d|20\d\d))?.*?&lt;/span&gt;</expression>
                        </RegExp>
                        <expression clear="yes" noclean="1" />
                </RegExp>
@@ -99,7 +102,7 @@
                        </RegExp>
                        <!--Get original title from imdb.com and store it in 
buffer 18 for future use-->
                        <RegExp input="$$1" output="\1" dest="18">
-                               <expression>&lt;meta name=&quot;title&quot; 
content=&quot;(?:&amp;#x22;)?([^&quot;]*?)(?:&amp;#x22;)? 
\(([0-9]*)\)</expression>
+                               <expression>&lt;meta name=&quot;title&quot; 
content=&quot;(?:&amp;#x22;)?([^&quot;]*?)(?:&amp;#x22;)? 
\([^\d]*?([0-9]*)\)</expression>
                        </RegExp>
                        <!--Append Original Title to originaltitle tag if 
labelenum = Magyar-->
                        <RegExp input="$INFO[titlelang]" 
output="&lt;originaltitle&gt;$$18&lt;/originaltitle&gt;" dest="5+">

-----------------------------------------------------------------------

Summary of changes:
 metadata.port.hu/addon.xml     |    4 ++--
 metadata.port.hu/changelog.txt |    6 ++++++
 metadata.port.hu/porthu.xml    |   11 +++++++----
 3 files changed, 15 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
Scrapers

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to