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

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] ESPN3.com Addon (/showthread.php?tid=95053)



- beschmid - 2011-10-29

Still script error

23:20:28 T:2898262896 ERROR: Traceback (most recent call last):
File "/home/brad/.xbmc/addons/plugin.video.espn3/default.py", line 515, 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 235, in PLAY
auth = smilurl.split('?')[1]
IndexError: list index out of range
23:20:28 T:2898262896 INFO: -->End of Python script error report<--


- beschmid - 2011-10-29

BlueCop: irc channel?


- BlueCop - 2011-10-29

don't hang out on irc much. send me a pm with an im network or irc channel.


- Djjack - 2011-10-29

im so lost with this its not even funny. it never works for me


- BlueCop - 2011-10-29

I committed an update with the name change. It also includes the new quality selection. Live events now display time remaining rather then event time for their duration.

I also made fanart and a icon to go with the name change. I am not sure the best way to refresh the icon cache for these to make them show up.

here are the new images. click on the fanart for full size.
Image

Image

back to work on login issues.

I am also still trying to think of improvements. I was thinking maybe changing the upcoming listing into separate upcoming per channel. This makes it quicker to browse the content I think.

Let me know what you guys think. It is possible to limit the upcoming and replay lists by date ranges. So any ideas for this usage. I was thinking of a replay by previous months list. So you just can browse the replay content by month.

maybe a similar by specific date listing for upcoming? I dunno what would actually be useful.


- ginola - 2011-10-29

BC,

I made the change on Line 206 and ESPN3 works fine again as well as the other channels.

Thanks!

BlueCop Wrote: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.



- picky2004 - 2011-10-29

I did everything but still script error


- hunkyn - 2011-10-29

@picky send logs and maybe one of us could help you. Also, did you try playing other streams? Were you able to watch the same event online through your browser?


- myXBMC - 2011-10-29

BlueCop Wrote:I committed an update with the name change. It also includes the new quality selection. Live events now display time remaining rather then event time for their duration.

I also made fanart and a icon to go with the name change. I am not sure the best way to refresh the icon cache for these to make them show up.

here are the new images. click on the fanart for full size.
Image

Image

back to work on login issues.

I am also still trying to think of improvements. I was thinking maybe changing the upcoming listing into separate upcoming per channel. This makes it quicker to browse the content I think.

Let me know what you guys think. It is possible to limit the upcoming and replay lists by date ranges. So any ideas for this usage. I was thinking of a replay by previous months list. So you just can browse the replay content by month.

maybe a similar by specific date listing for upcoming? I dunno what would actually be useful.

Thanks again! Everything is still working/looking good since my post #18 for AppleTV2 running latest nightly xbmc-20111028-34ab2d3-master-atv2.deb (Oct 29, 2011).


- WildBill - 2011-10-29

picky2004 Wrote:I did everything but still script error
You can only watch espn, espn2, espnu only if you have a SWID from Verizon TW or BH.

EDIT
ESPN3 you can still watch


- picky2004 - 2011-10-29

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

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%26channel%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%26channel%3Despn1%2Cespn2%2Cespn3%2Cespnu%2Cgoalline&mode=1&name=Live) failed


- ksosez - 2011-10-29

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

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

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.