The branch, eden-pre has been updated
       via  600c0de50bbc1ed0f6677cb84aba905bacce5490 (commit)
      from  1d03ec5d2d873ac97b90ce21b307dfe223d37057 (commit)

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

commit 600c0de50bbc1ed0f6677cb84aba905bacce5490
Author: spiff <[email protected]>
Date:   Mon Sep 12 13:58:03 2011 +0200

    [plugin.video.rbk.no] updated to version 2.0.7

diff --git a/plugin.video.rbk.no/addon.xml b/plugin.video.rbk.no/addon.xml
index 78edd26..f628abf 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="2.0.6"
+       version="2.0.7"
        provider-name="spiff">
   <requires>
     <import addon="xbmc.python" version="2.0"/>
diff --git a/plugin.video.rbk.no/changelog.txt 
b/plugin.video.rbk.no/changelog.txt
index 579fd46..76ab01f 100644
--- a/plugin.video.rbk.no/changelog.txt
+++ b/plugin.video.rbk.no/changelog.txt
@@ -1,3 +1,6 @@
+[B]2.0.7:[/B]
+Fix youtube regular expression
+
 [B]2.0.6:[/B]
 Fix encoding of titles
 Add support for youtube hosted videos
diff --git a/plugin.video.rbk.no/default.py b/plugin.video.rbk.no/default.py
index 4a05376..013b645 100644
--- a/plugin.video.rbk.no/default.py
+++ b/plugin.video.rbk.no/default.py
@@ -41,7 +41,7 @@ def INDEX(start):
                 id = re.compile('TV2Player.insert\(([0-9]+)').findall(link)
                 if len(id) == 0:
                         # utub it is then?
-                        id = 
re.compile('youtube.com/embed/([^?]+)\?').findall(link)
+                        id = 
re.compile('youtube.com/embed/([^?"]+)(?:\?|")').findall(link)
                         for i in id:
                                 try:
                                         thumb = re.compile('<div 
class="image">[^>]*src="([^"]*)"').findall(link)[0]

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

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


hooks/post-receive
-- 
Plugins

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to