Posts: 495
Joined: Mar 2013
Reputation:
44
Interesting
can you check if it works also with this:
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')
return logged_in
Posts: 495
Joined: Mar 2013
Reputation:
44
Thanks!
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.
Posts: 495
Joined: Mar 2013
Reputation:
44
Version 0.0.9
Mixed the current rt and ah shows
Mixed the retired rt and ah shows
Add dir for recent ah episodes
Posts: 495
Joined: Mar 2013
Reputation:
44
Odd stuff...Does the error occur with every video?
I tried reproducing the error by a clean install of xmbc 14 alfa 2 on a 64 bit windows machine and then installing roostertooth. It all seemed to work ok. And with debug on i still didn't see that beautiful soup errormessage as in your kodi 14 log:
01:43:12 T:4555030528 ERROR: .../XBMC/addons/script.module.beautifulsoup4/lib/bs4/builder/_htmlparser.py:163: RuntimeWarning: Python's built-in HTMLParser cannot parse the given document...
When i compare the two logs, i see a difference in the python version:
- in the 14 log: .../Applications/XBMC.app/Contents/Libraries/lib/python26.zip...
- in the 13 log: ...C:\Program Files (x86)\XBMC\system\python\Lib;C:\Program Files (x86)\XBMC\python27.zip...
Also the 14 is an OS machine and the 13 is a windows machine.
I'm not sure what's causing the problem tho. It seems beautiful soup isn't working on the OS machine or something. U could try moving the beautiful soup dir to some other dir and retrying roosterteeth, it should download beautiful soup again...
Posts: 17,859
Joined: Jul 2011
Reputation:
371
Windows uses 2.7 yes. Should make no difference at all regarding addons
Posts: 495
Joined: Mar 2013
Reputation:
44
hmmm. Could u try the addon CNET Podcasts on the OS machine?
If that one gives the same error, it points to the python version and the beautiful soup lib not getting along nicely on OS...