XBMC Community Forum
[RELEASE] ESPN3.com Addon - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] ESPN3.com Addon (/showthread.php?tid=95053)



- paveksam - 2011-10-29 03:51

Well, its not a big deal, sorry for distraction you by this silly question.
All of you did amazing work. As I said, I use whole great xbmc system because of this plugin ONLY! Thank you!


- BlueCop - 2011-10-29 03:55

which xbmc version are you using? I just thought that view id numbers might have changed and that is why it isn't working.


- paveksam - 2011-10-29 04:22

Using xbmc-10.1, latest version. Blind clicks on different options hasn't brought result. I think it will demand some attention if other users declare such problem.


- BlueCop - 2011-10-29 04:35

I will look into it.

i just discovered there is a higher quality stream option of live events. I will be adding support for this.


Edit:

Does anyone have any ideas to improve or change the information displayed?

I had an idea to change the duration displayed for live events to be the length of time remaining on the event. right now it just displays the total time allotted for the event. I could put this information somewhere else though

I honestly don't watch sports so it isn't always intuitive for me on how to layout or display the information. I do like to drink at sporting events though.


- ginola - 2011-10-29 05:21

BlueCop,

Hats off to you on a great plugin. I can confirm that after following your detailed instructions, the login part works flawlessly hence I'm able to watch ESPN, ESPN2, ESPNU and of course ESPN3 using a verizon login.

Thanks again!




BlueCop Wrote:I am going to work on log-in issues now.

This post has info on how to extract your swid from a browser session to use with the plugin. If login fails in the plugin then you can use this method to get it working right now.

I hope to work out all the log-in problems soon.



- hunkyn - 2011-10-29 05:27

BC the new update rocks. Watching Sportscenter right now no issues. If we have a better quality then that would be more than asking for but having an option is always great.


- BlueCop - 2011-10-29 05:29

the highest option it plays now is 1800kbps.
there is a 2200kbps option for the espn network streams. so it isn't that big of a bump.


- hunkyn - 2011-10-29 05:36

I think as someone else mentioned we should maybe change the title to "Watch ESPN" now with a new watch espn logo.

Thanks i love this addin more and more.


- BlueCop - 2011-10-29 05:44

Indeed a name change might be prudent.

I can change the name in the next update. I am going to keep the plugin id as plugin.video.espn3 though.

"Watch ESPN" will work but I kinda want to name it "ESPN" or "ESPN Networks". The "Watch" part just rubs me the wrong way. It seems commanding like I should be doing it what it says. I am crazy though and answer questions commercials ask me.


- hunkyn - 2011-10-29 06:45

I agree with i never liked the "Watch" part either. ESPN seems to be simple and clean. Will wait for the next update and stream quality option.


Script Error - beschmid - 2011-10-29 07:02

XBMC Live 10.04.3
Must use login to access ESPN3 with remote access

I just updated the addon and went the previous instructions to setup the cookies.lwp file created. I think I have everything done correctly. But I get a script error when trying to view a Live event, or any event for that matter. Here it is...

22:53:25 T:2837445488 NOTICE: <?xml version='1.0' encoding='utf-8'?>
<user-verified-media-response xmlns="http://services.bamnetworks.com/media/types/2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<status-code>
-3000
</status-code>
</user-verified-media-response>
22:53:25 T:2837445488 INFO: -->Python script returned the following error<--
22:53:25 T:2837445488 ERROR: Error Type: <type 'exceptions.AttributeError'>
22:53:25 T:2837445488 ERROR: Error Contents: 'NoneType' object has no attribute 'string'
22:53:25 T:2837445488 ERROR: Traceback (most recent call last):
File "/home/brad/.xbmc/addons/plugin.video.espn3/default.py", line 514, in <module>
PLAYESPN3(url)
File "/home/brad/.xbmc/addons/plugin.video.espn3/default.py", line 186, in PLAYESPN3
PLAY(url,'n360')
File "/home/brad/.xbmc/addons/plugin.video.espn3/default.py", line 233, in PLAY
smilurl = tree.find('url').string
AttributeError: 'NoneType' object has no attribute 'string'
22:53:25 T:2837445488 INFO: -->End of Python script error report<--


- BlueCop - 2011-10-29 07:09

beschmid: could you try something for me.

change
config = 'http://espn.go.com/watchespn/player/config'
to
config = 'http://espn.go.com/watchespn/player/config?eanUser=true'

in PLAY() on line 210 in default.py

I think it should work then. I am rewriting some of the detection so that it will automatically detects authorization level and use the correct urls. Sorry if it is a problem right now. The next release this problem should be fixed. I am still learning fully how the site functions.


- beschmid - 2011-10-29 07:15

Hmm, line 210 reads,


networks = BeautifulStoneSoup(data, convertEntities=BeautifulStoneSoup.HTML_ENTITIES).find('networks').findAll('netw​ork')


- beschmid - 2011-10-29 07:15

Line 206 is,

config = 'http://espn.go.com/watchespn/player/config'


- BlueCop - 2011-10-29 07:16

opps I forgot I am working off a different version. Line 206