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)



- picky2004 - 2011-10-29 17:55

Ok
I never had a problem with espn3 addon beside the usual change swid number and replace default.py
Now with the new update do you have to put your user id and password in the addon settings or not
i have fios so i can watch other espn channels or only espn3
do i have to modify the addon on line 206


- hunkyn - 2011-10-29 18:34

BC i am getting an error now when i select live. Here is the log


12:30:56 T:3356 NOTICE: Mode: 1
12:30:56 T:3356 NOTICE: URL: http://espn.go.com/watchespn/feeds/startup?action=live&channel=espn1,espn2,espn3,espnu,goalline
12:30:56 T:3356 NOTICE: Name: Live
12:30:56 T:3356 NOTICE: Indexing Videos
12:30:56 T:3356 NOTICE: ESPN3: get_html: http://espn.go.com/watchespn/feeds/startup?action=live&channel=espn1,espn2,espn3,espnu,goalline
12:30:57 T:3356 ERROR: Error Type: <type 'exceptions.KeyError'>
12:30:57 T:3356 ERROR: Error Contents: (u'ngl',)
12:30:57 T:3356 ERROR: Traceback (most recent call last):
File "C:\Users\Harshin\AppData\Roaming\XBMC\addons\plugin.video.espn3\default.py", line 501, in <module>
INDEX(url,name)
File "C:\Users\Harshin\AppData\Roaming\XBMC\addons\plugin.video.espn3\default.py", line 130, in INDEX
network = networkmap[networkid]
KeyError: (u'ngl',)
12:30:57 T:5008 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.espn3/?url=http%3A%2F%2Fespn.go.com%2Fwatchespn%2Ffeeds%2Fstartup%3Faction%3Dlive%26ch​annel%3Despn1%2Cespn2%2Cespn3%2Cespnu%2Cgoalline&mode=1&name=Live
12:30:57 T:5008 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.espn3/?url=http%3A%2F%2Fespn.go.com%2Fwatchespn%2Ffeeds%2Fstartup%3Faction%3Dlive%26ch​annel%3Despn1%2Cespn2%2Cespn3%2Cespnu%2Cgoalline&mode=1&name=Live) failed


- ksosez - 2011-10-29 18:35

Something changed between last night and today. Yesterday I was able to watch stuff and now I am not. I have to debug it to figure out whats going on.


- hunkyn - 2011-10-29 18:42

Same here. I did some testing and it seems to work now.

Yesteday i had the clear cookies not selected and all the networks everything worked.

Today i had the clear cookies not selected and removed all of the networks except for espn3 and it gave me the list only for espn3.

i changed the "clear cookies" to selected and added espn, espn2 and espn3 and it is working fine again. But does not work for espnu and goalline.

Hope that helps you to figure out the issue.

Also check your cookies.lwp file seems like one of the lines had an expiration of 10/28/2011 i changed it to 2012 and the streams are working again. But espnu and goalline are still now working. For now i have not selected these two in the settings.

Thanks


- Macpatto - 2011-10-29 19:26

BC.. Thank you for your great effort and hard work.

Unfortunatelly, I am outside of the U.S. and the new update broke the viewing that I had working from post 465. So, went back to it and working again.
Would be nice to see the new features integrated in a fix for some of us outside of the U.S.

I luv this bad boy...
Thumbs up.


- beschmid - 2011-10-29 20:41

Script Error

When selecting a Live stream I am still getting a python error, at least thats what it looks like to me. I'm kind of a dummy.


12:39:12 T:2764041072 INFO: -->Python script returned the following error<--
12:39:12 T:2764041072 ERROR: Error Type: <type 'exceptions.IndexError'>
12:39:12 T:2764041072 ERROR: Error Contents: list index out of range
12:39:12 T:2764041072 ERROR: Traceback (most recent call last):
File "/home/brad/.xbmc/addons/plugin.video.espn3/default.py", line 523, in <module>
PLAYESPN3(url)
File "/home/brad/.xbmc/addons/plugin.video.espn3/default.py", line 191, in PLAYESPN3
PLAY(url,'n360')
File "/home/brad/.xbmc/addons/plugin.video.espn3/default.py", line 239, in PLAY
auth = smilurl.split('?')[1]
IndexError: list index out of range
12:39:12 T:2764041072 INFO: -->End of Python script error report<--


- Mojonba - 2011-10-29 21:56

Hello Guys,

I had the plugin working with the old version / default.py. Im trying to get it to work with the new version but I am having problems and have several questions. I am using an unauthorized isp with a username/password/swid/affiliate id.

1) The only files that the plugins needs are userdata.xml and cookies.lwp with the appropriate information? Right? default.py does not need to be edited.

2) Files are stored in /userdata/addon_data/plugin.video.espn3 or /addons/plugin.video.espn3 ?

3) The cookies.lwp template in post has an invalid cookie expiration data and must be changed. Right?

4) Clear cookies and use login button in plugin settings must be turned off if you are using a isp not listed.

Thanks.


- BlueCop - 2011-10-29 22:53

too much to respond to.

post logs to pastebin and send them in pm.

I worked on handling error messages from the service last night before sleep.

it has different urls for grabbing smil based network and if you are an extended network user. It will be fixed later.

I still need feed back on which log-ins are working. i can confirm att. someone confirmed verizon.

Update:

also some errors were cause by a typo in of nal vs ngl for the goalline network id in networkmap dictionary.

also if you are having errors with manually edited swids. Try to both disable login and enable login. never check clear cookies if you are using edited files. only use clear cookies when you want it to re-grab your cookies and userdata.xml.

I committed an update to fix the goal line typo. I also added some of the error handling for espn3 responses. It will inform you if you aren't authorized or blacked out.

also don't modify that line. I wanted to get feedback if it worked. It will add the parameter if you have login enabled.


- WildBill - 2011-10-30 00:12

Macpatto Wrote:BC.. Thank you for your great effort and hard work.

Unfortunatelly, I am outside of the U.S. and the new update broke the viewing that I had working from post 465. So, went back to it and working again.
Would be nice to see the new features integrated in a fix for some of us outside of the U.S.

I luv this bad boy...
Thumbs up.

What I had to do was to uninstall and deleted espn3 folder from
C:\Documents and Settings\user\Application Data\XBMC\addons\ and C:\Documents and Settings\user\Application Data\XBMC\userdata\addon_data

and make sure the clear cookies is not checked and you only need to edit what in post 571 userdata.xml


- BlueCop - 2011-10-30 00:18

I have not received logs of the failure. I can't fix anything if I don't know the problem.

don't post logs in the thread. email or pastebin pm them to me. I left alot of output in there to diagnose problems for right now. don't post them publicly.

did you try?
BlueCop Wrote:also if you are having errors with manually edited swids. Try to both disable login and enable login. never check clear cookies if you are using edited files. only use clear cookies when you want it to re-grab your cookies and userdata.xml.

You have to try these things and tell me what happened or give me logs. I can't divine problems.