2011-05-10, 19:22
divingmule Wrote:Cool!
Was that with the latest revision that got pushed last night?
Yes it was.
divingmule Wrote:Cool!
Was that with the latest revision that got pushed last night?
theophile Wrote:Yes it was.
svn checkout http://divingmules-repo.googlecode.com/svn/trunk/plugin.video.mlb.highlights
theophile Wrote:BOS/TOR
Looks like the cookie/authentication issue again. I'll delete the cookie and try again.
rm ~/home/.xbmc/userdata/plugin.video.mlb.highlights/mlbcookie.lwp
SESSIONKEY = os.path.join( profile, 'mlb', 'sessionkey')
SESSIONKEY = os.path.join( profile, 'sessionkey')
session = el.find(utag + ['session-key']).text
session = soup.find('session-key').string
divingmule Wrote:Could you change line 178 fromto -Code:SESSIONKEY = os.path.join( profile, 'mlb', 'sessionkey')
Code:SESSIONKEY = os.path.join( profile, 'sessionkey')
divingmule Wrote:I've made several more fixes. Any testers should svn update, from the command line, cd to the directory you checked out and type "svn update".
If you need a download let me know or I guess you could copy and paste from here - http://divingmules-repo.googlecode.com/s...default.py
I think we are getting really close
try:
print "session-key = " + str(cookies['ftmu'])
session = urllib.unquote(cookies['ftmu'])
print'!!!!!!!!!------------>'+sesion
sk = open(SESSIONKEY,"w")
sk.write(session)
sk.close()
except:
logout_url =
session = urllib.unquote(str(cookies['ftmu']))
divingmule Wrote:This is the code that is failing, starts around line 375 -
Code:try:
print "session-key = " + str(cookies['ftmu'])
session = urllib.unquote(cookies['ftmu'])
print'!!!!!!!!!------------>'+sesion
sk = open(SESSIONKEY,"w")
sk.write(session)
sk.close()
except:
logout_url =
Could you change the session = ... to -
Code:session = urllib.unquote(str(cookies['ftmu']))
Not sure why this isn't working because you didn't have any trouble with the mlbgame.py, maybe it's xbmc's python. Was this run from a windows machine?
divingmule Wrote:If you would, svn update, and try again. I found my mistake.