The branch, frodo has been updated
       via  b16a636f488f5e5565fab5d822faeba76cc78a1d (commit)
      from  fc58e3914e34dab06f2be47bd53eb714e7831cc2 (commit)

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

commit b16a636f488f5e5565fab5d822faeba76cc78a1d
Author: sphere <[email protected]>
Date:   Tue May 6 10:23:48 2014 +0200

    [plugin.video.roosterteeth] updated to version 0.0.8

diff --git a/plugin.video.roosterteeth/addon.xml 
b/plugin.video.roosterteeth/addon.xml
index b11f289..cc08690 100644
--- a/plugin.video.roosterteeth/addon.xml
+++ b/plugin.video.roosterteeth/addon.xml
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="plugin.video.roosterteeth"
        name="Rooster Teeth"
-       version="0.0.7"
-       provider-name="divingmule, Skipmode A1">
+       version="0.0.8"
+       provider-name="Divingmule, Skipmode A1">
   <requires>
     <import addon="xbmc.python" version="2.1.0"/>
     <import addon="script.module.beautifulsoup4" version="4.3.1"/>
diff --git a/plugin.video.roosterteeth/changelog.txt 
b/plugin.video.roosterteeth/changelog.txt
index b71c6c1..4ad61e6 100644
--- a/plugin.video.roosterteeth/changelog.txt
+++ b/plugin.video.roosterteeth/changelog.txt
@@ -1,3 +1,7 @@
+Version 0.0.8
+Fixed so that there is no need to delete the cookie file when watching 
sponsored videos.
+Thanks to AikenDrum for the patch.
+
 Version 0.0.7
 Because divingmule seems off the grid for a bit, i've patched this version and 
put it in my repo. 
 I'll push it to the xbmc repo, so it will automaticly update for everybody. 
diff --git a/plugin.video.roosterteeth/default.py 
b/plugin.video.roosterteeth/default.py
index 8754c7d..e293aa5 100644
--- a/plugin.video.roosterteeth/default.py
+++ b/plugin.video.roosterteeth/default.py
@@ -422,13 +422,15 @@ def add_dir(name, url, mode, iconimage, meta={}, 
season=False, isfolder=True):
 
 def check_login():
     logged_in = False
-    cookies = {}
-    cookie_jar.load(cookie_file, ignore_discard=False, ignore_expires=False)
-    for i in cookie_jar:
-        cookies[i.name] = i.value
-    if cookies.has_key('rtusername') and cookies['rtusername'] == 
addon.getSetting('username'):
-        logged_in = True
-        addon_log('Already logged in')
+#commenting from here fixes the need to delete cookiefile when watching 
sponsored videos    
+#    cookies = {}
+#    cookie_jar.load(cookie_file, ignore_discard=False, ignore_expires=False)
+#    for i in cookie_jar:
+#        cookies[i.name] = i.value
+#    if cookies.has_key('rtusername') and cookies['rtusername'] == 
addon.getSetting('username'):
+#        logged_in = True
+#        addon_log('Already logged in')
+#commenting to here fixes the need to delete cookiefile when watching 
sponsored videos  
     return logged_in
 
 

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

Summary of changes:
 plugin.video.roosterteeth/addon.xml     |    4 ++--
 plugin.video.roosterteeth/changelog.txt |    4 ++++
 plugin.video.roosterteeth/default.py    |   16 +++++++++-------
 3 files changed, 15 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
Plugins

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to