The branch, dharma has been updated
       via  7075ee3d5510aa9c040ba6a6f9364bfacab8604e (commit)
      from  5c9c1d748134047558927a1fc846d69ac6e11eb8 (commit)

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

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

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

diff --git a/plugin.video.rbk.no/addon.xml b/plugin.video.rbk.no/addon.xml
index 55c116e..a6b5aef 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.6"
+       version="1.0.7"
        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 faba3f1..4e5c6b5 100644
--- a/plugin.video.rbk.no/changelog.txt
+++ b/plugin.video.rbk.no/changelog.txt
@@ -1,3 +1,6 @@
+[B]1.0.7:[/B]
+Fix youtube regular expression
+
 [B]1.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