• 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 22
[WIP] MLB.TV Boxee App port (developers needed!)
#61
divingmule Wrote:Cool!Cool
Was that with the latest revision that got pushed last night?

Yes it was. Nerd
Reply
#62
theophile Wrote:Yes it was. Nerd

Didn't mean to leave you hanging their.Oo I've been working hard porting (I guess you would call it) the mlbgame.py to work with xbmc.

I need you guys with a subscription to do some testing:/

I put up a download here -- http://divingmules-repo.googlecode.com/f...lights.zip

It may be easier to use svn checkout as I'm not bumping the addon version.
Code:
svn checkout http://divingmules-repo.googlecode.com/svn/trunk/plugin.video.mlb.highlights


You will need to set the "add-on settings". Then try the "Today's Games" dir. Witch it's going to list games from Saturday I think.

I really don't expect it to workSmile so pastebin the log files.
Reply
#63
Sooooooo exciting. Smile

You're right, it didn't work. But this looks like a productive error. This is from the MIN/BOS game.

http://pastebin.com/x9Cf78M5
Reply
#64
theophile, could you open up the default.py and change the url in line 16 to todays date "day_10" and try a live game.

Thanks.
Reply
#65
BOS/TOR

Looks like the cookie/authentication issue again. I'll delete the cookie and try again.

And here it is after restarting XBMC.
Reply
#66
theophile Wrote:BOS/TOR

Looks like the cookie/authentication issue again. I'll delete the cookie and try again.

Yeah, do $
Code:
rm ~/home/.xbmc/userdata/plugin.video.mlb.highlights/mlbcookie.lwp
Reply
#67
Could you change line 178 from
Code:
SESSIONKEY = os.path.join( profile, 'mlb', 'sessionkey')
to -
Code:
SESSIONKEY = os.path.join( profile, 'sessionkey')

Change line 412 from -
Code:
session = el.find(utag + ['session-key']).text

to -
Code:
session = soup.find('session-key').string
Reply
#68
divingmule Wrote:Could you change line 178 from
Code:
SESSIONKEY = os.path.join( profile, 'mlb', 'sessionkey')
to -
Code:
SESSIONKEY = os.path.join( profile, 'sessionkey')

http://pastebin.com/ShLpEdK7
Reply
#69
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 Nod
Reply
#70
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 Nod

http://pastebin.com/uKkmRzs4
Reply
#71
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?
Reply
#72
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?

http://pastebin.com/WzvC9KB1

XBMC is running on the Ubuntu box with working mlbviewer.
Reply
#73
If you would, svn update, and try again. Rolleyes I found my mistake.
Reply
#74
divingmule Wrote:If you would, svn update, and try again. Rolleyes I found my mistake.

http://pastebin.com/8YCKxP3w
Reply
#75
Geezz wish we could get past this session key error Rofl

Made some changes, svn update if you would.
Reply
  • 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 22

Logout Mark Read Team Forum Stats Members Help
[WIP] MLB.TV Boxee App port (developers needed!)3