The branch, eden-pre has been updated
       via  8bf396cf215720aae5dfc5c745b4456b1b97d8a8 (commit)
      from  f93ac1f369f4a3f60a54303abb671fff72a9e685 (commit)

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

commit 8bf396cf215720aae5dfc5c745b4456b1b97d8a8
Author: spiff <[email protected]>
Date:   Tue Aug 9 15:18:54 2011 +0200

    [plugin.video.youtube] updated to version 2.6.1

diff --git a/plugin.video.youtube/YouTubeLogin.py 
b/plugin.video.youtube/YouTubeLogin.py
index 59dcdac..65cded2 100755
--- a/plugin.video.youtube/YouTubeLogin.py
+++ b/plugin.video.youtube/YouTubeLogin.py
@@ -110,10 +110,10 @@ class YouTubeLogin(YouTubeCore.YouTubeCore, 
YouTubeUtils.YouTubeUtils):
 
                        newurl = re.compile('<form action="(.*?)" 
method="POST">').findall(ret["content"])
                        state_wrapper = re.compile('<input type="hidden" 
id="state_wrapper" name="state_wrapper" value="(.*?)">').findall(ret["content"])
-                       submit_approve_access = re.compile('<input 
id="submit_approve_access" name="submit_approve_access" type="submit" 
tabindex="1" value="(.*?)" class="').findall(ret["content"])
-                       if len(newurl) > 0 and len(state_wrapper) > 0 and 
len(submit_approve_access) > 0:
+                       submit_access = "true"#re.compile('<button 
id="submit_approve_access" name="submit_approve_access" type="submit" 
tabindex="1" value="(.*?)" class="').findall(ret["content"])
+                       if len(newurl) > 0 and len(state_wrapper) > 0 and 
len(submit_access) > 0:
                                url_data = { "state_wrapper": state_wrapper[0],
-                                            "submit_approve_access": 
submit_approve_access[0]}
+                                            "submit_access": submit_access}
 
                                fetch_options = { "link": newurl[0], 
"url_data": url_data, "no-language-cookie": "true" }
                                continue;
diff --git a/plugin.video.youtube/addon.xml b/plugin.video.youtube/addon.xml
index 2782eb6..6f9b3c4 100644
--- a/plugin.video.youtube/addon.xml
+++ b/plugin.video.youtube/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="plugin.video.youtube"
        name="YouTube"
-       version="2.6.0"
+       version="2.6.1"
        provider-name="TheCollective">
   <requires>
     <import addon="xbmc.python" version="2.0"/>
diff --git a/plugin.video.youtube/changelog.txt 
b/plugin.video.youtube/changelog.txt
index aeacefa..a2dcfc6 100644
--- a/plugin.video.youtube/changelog.txt
+++ b/plugin.video.youtube/changelog.txt
@@ -12,6 +12,9 @@
 - [XBMC] Subtitles and Annotations dont work the first time 90% of the time
 - Download of rtmpe streams not supported.
 
+[B]Version 2.6.1 (Beta)[B]
+- Fixed login after youtube changed the procedure for oauth2 verification
+
 [B]Version 2.6.0 (Beta)[B]
 - Added New playback function. Now uses unified code accross all pages(html 
scraping, embeded, flash fallback). Supports fallback server.
 - Added fallback for age restricted videos (Will fail if embedding is disabled)
diff --git a/plugin.video.youtube/default.py b/plugin.video.youtube/default.py
index 375154d..e78be88 100644
--- a/plugin.video.youtube/default.py
+++ b/plugin.video.youtube/default.py
@@ -19,7 +19,7 @@
 import sys, xbmcaddon
 
 # plugin constants
-__version__ = "2.6.0"
+__version__ = "2.6.1"
 __plugin__ = "YouTube" + __version__
 __author__ = "TheCollective"
 __url__ = "www.xbmc.com"

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

Summary of changes:
 plugin.video.youtube/YouTubeLogin.py |    6 +++---
 plugin.video.youtube/addon.xml       |    2 +-
 plugin.video.youtube/changelog.txt   |    3 +++
 plugin.video.youtube/default.py      |    2 +-
 4 files changed, 8 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
Plugins

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to