The branch, dharma-pre has been updated
       via  30b392472672d1691beb6149a9588357e50a6dc6 (commit)
      from  96e46e03cfb1194cf363f6fa262f388406cd2fe1 (commit)

- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=30b392472672d1691beb6149a9588357e50a6dc6

commit 30b392472672d1691beb6149a9588357e50a6dc6
Author: spiff <[email protected]>
Date:   Tue Nov 23 19:33:14 2010 +0100

    [plugin.video.rbk.no] updated to version 1.0.4. editing the wrong file 
isn't smrt

diff --git a/plugin.video.rbk.no/addon.xml b/plugin.video.rbk.no/addon.xml
index c3db4ef..1f078a8 100644
--- a/plugin.video.rbk.no/addon.xml
+++ b/plugin.video.rbk.no/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="plugin.video.rbk.no"
        name="RBK.no"
-       version="1.0.3"
+       version="1.0.4"
        provider-name="spiff">
   <requires>
     <import addon="xbmc.python" version="1.0"/>
diff --git a/plugin.video.rbk.no/changelog.txt 
b/plugin.video.rbk.no/changelog.txt
index 3fafb44..d5c9f0b 100644
--- a/plugin.video.rbk.no/changelog.txt
+++ b/plugin.video.rbk.no/changelog.txt
@@ -1,4 +1,4 @@
-[B]1.0.3:[/B]
+[B]1.0.4:[/B]
 Didn't parse all pages. Hand-written html is so cute
 
 [B]1.0.2:[/B]
diff --git a/plugin.video.rbk.no/default.py b/plugin.video.rbk.no/default.py
index d221138..e86bcfe 100644
--- a/plugin.video.rbk.no/default.py
+++ b/plugin.video.rbk.no/default.py
@@ -37,7 +37,7 @@ def INDEX(start):
                 id = re.compile('TV2Player.insert\(([0-9]+)').findall(link)
                for i in id:
                        name = re.compile('<h1>(.*)</h1>').findall(link)
-                       plot = re.compile('<p 
class="leadIn"><b><p>([^<]*)</p>',re.M).findall(link)
+                       plot = re.compile('p 
class="leadIn"><b>(?:<p>)?([^<]*)(?:</p>)?</b>').findall(link)
                        date = re.compile('Publisert: ([^ ]+)').findall(link)
                        url = sys.argv[0]+"?id="+i
                        thumb = 
'http://www.tv2.no/tvid/VMan-P'+i[:3]+'/VMan-P'+i+'.jpg'
@@ -51,7 +51,6 @@ def RESOLVE(id):
        response.close()
        url = re.compile('<REF HREF="(.*?)">').findall(link)
        name = re.compile('<TITLE>(.+?)</TITLE>').findall(link)
-       print name
        plot = re.compile('<ABSTRACT>(.+?)</ABSTRACT>').findall(link)
        try:
                plot = plot[1];

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

Summary of changes:
 plugin.video.rbk.no/addon.xml     |    2 +-
 plugin.video.rbk.no/changelog.txt |    2 +-
 plugin.video.rbk.no/default.py    |    3 +--
 3 files changed, 3 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
Plugins

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to