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)



- BlueCop - 2011-11-16

i see the Portugal v. Bosnia in the 10 day replay.

It might be that i am using localtime and should be using gmt so it is using the wrong dates to filter the results.

if someone is experiencing the problem could you try replacing the line in CATEGORIES()

curdate = datetime.now()

curdate = datetime.utcnow()

I can update it later if that is the problem.


- locomot1f - 2011-11-16

no, i see the games now as well.

not sure what was happening. i know that the games usually show up 1 hour after their original broadcast.

<shrugs shoulders> i dunno....Huh


- BlueCop - 2011-11-16

I think that is the problem. the current day of the month could be off when using localtime. It would eventually catch up to UTC date and display correctly though. If that starting filter day is off though then it won't display newer results.


- locomot1f - 2011-11-16

okay, will give it a try.


- jandy - 2011-11-17

copied userdata.xml and cookies.lwp. Still Error - Script Failed...

00:05:18 T:122609664 NOTICE: Mode: 2
00:05:18 T:122609664 NOTICE: URL: http://espn.go.com/watchespn/feeds/startup?action=replay&endDate=20111116&startDate=20111106
00:05:18 T:122609664 NOTICE: Name: Replay 10 Days
00:05:18 T:122609664 NOTICE: List sports
00:05:18 T:122609664 NOTICE: ESPN3: get_html: http://espn.go.com/watchespn/feeds/startup?action=replay&endDate=20111116&startDate=20111106
00:05:18 T:122609664 INFO: -->Python script returned the following error<--
00:05:18 T:122609664 ERROR: Error Type: <type 'exceptions.IOError'>
00:05:18 T:122609664 ERROR: Error Contents: (13, 'Permission denied', '/var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.video.espn3/videocache.xml')
00:05:18 T:122609664 ERROR: Traceback (most recent call last):
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.espn3/default.py", line 565, in <module>
LISTSPORTS(url,name)
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.espn3/default.py", line 100, in LISTSPORTS
SaveFile('videocache.xml', data, ADDONDATA)
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.espn3/default.py", line 496, in SaveFile
file = open(path,'w')
IOError: (13, 'Permission denied', '/var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.video.espn3/videocache.xml')
00:05:18 T:122609664 INFO: -->End of Python script error report<--
00:05:19 T:122609664 INFO: Python script stopped
00:05:19 T:122609664 DEBUG: Thread XBPyThread 122609664 terminating
00:05:19 T:107655168 DEBUG: waiting for python thread 11 to stop
00:05:19 T:107655168 DEBUG: python thread 11 destructed
00:05:19 T:107655168 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
00:05:19 T:120033280 DEBUG: WaitOnScriptResult - plugin exited prematurely - terminating
00:05:19 T:107655168 ERROR: GetDirectory - Error getting plugin://plugin.video.espn3/?url=http%3A%2F%2Fespn.go.com%2Fwatchespn%2Ffeeds%2Fstartup%3Faction%3Dreplay%26endDate%3D20111116%26startDate%3D20111106&mode=2&name=Replay+10+Days
00:05:19 T:107655168 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.espn3/?url=http%3A%2F%2Fespn.go.com%2Fwatchespn%2Ffeeds%2Fstartup%3Faction%3Dreplay%26endDate%3D20111116%26startDate%3D20111106&mode=2&name=Replay+10+Days) failed
00:05:19 T:107655168 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.espn3)
00:05:19 T:107655168 DEBUG: ParentPath = [addons://sources/video/]
00:05:19 T:107655168 DEBUG: Loading fileitems [plugin://plugin.video.espn3]
00:05:19 T:107655168 DEBUG: -- items: 7, directory: plugin://plugin.video.espn3 sort method: 0, ascending: false
00:05:19 T:122609664 DEBUG: Thread Background Loader start, auto delete: 0
00:05:19 T:122609664 DEBUG: Thread Background Loader 122609664 terminating
00:05:19 T:107655168 DEBUG: ------ Window Deinit (DialogProgress.xml) ------
00:05:19 T:107655168 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
00:05:24 T:107655168 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
00:05:49 T:120033280 DEBUG: Thread Jobworker 120033280 terminating (autodelete)


- BlueCop - 2011-11-17

1. dont post logs on the forum

2. it is a problem with your permissions. it can't write to the directory to save te cached list.


- jandy - 2011-11-17

1. sorry. will not do again.
2. Question on Permissions: what permissions? how to fix it.


- jandy - 2011-11-18

Got it to work now... I did not have "./private/var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.video.espn3" folder so I created as user "root". Had to give ownership to "mobile(501)".


- Gatorfreak - 2011-11-18

Is it working for Cox yet? Several pages back it sounded like that is in the works but not there yet. Thanks!

Edit: Nevermind. I didn't get it working but rather I learned that ESPN3 blacks out what I'd want this for because I live near my team.


- edogawa71 - 2011-11-20

BlueCop Wrote:i see the Portugal v. Bosnia in the 10 day replay.

It might be that i am using localtime and should be using gmt so it is using the wrong dates to filter the results.

if someone is experiencing the problem could you try replacing the line in CATEGORIES()

curdate = datetime.now()

curdate = datetime.utcnow()

I can update it later if that is the problem.


can you post a fix for the replay update problem please.


- StinDaWg - 2011-11-21

This may or may not have been answered in the previous 69 pages but here goes...

I have Time Warner Cable so I can use this addon without having to enter my login credentials like I have to do in a browser. How you've made this to work without having to login I don't understand but I won't complain either.

According to WatchESPN:

Quote:Live streams of all the WatchESPN Networks are available at no additional cost to fans who receive ESPN as part of their TV subscription from Bright House Networks, Time Warner Cable, and Verizon FiOS TV.

I take this to understand that in order to watch espn, 2, espnU, ect you have to at least be an expanded basic cable subscriber. My question is, since this addon bypasses login for Time Warner customers, does this mean you can cancel cable and downgrade to internet only, while still being able to watch the entire ESPN networks through xbmc? If I could still watch Sportscenter, Monday Night Football, PTI, Around the Horn, NBA games, ect I might just cut the cord altogether and go Road Runner only.

Can any Time Warner internet only customers comment on whether this would work?


- BlueCop - 2011-11-21

do not discuss stealing the service. it isn't supported.


- StinDaWg - 2011-11-21

BlueCop Wrote:do not discuss stealing the service. it isn't supported.

I'm not sure I understand your response. I just downloaded this today and I'm trying to figure things out. I've read about the last 10 pages. Right now I have everything working as a TWC customer without having to enter in any login credentials. ESPN, 2, U all work. It doesn't work in a browser unless I enter in the login info. I have internet and digital cable, so I'm not "stealing" anything.

In previous posts you and others talk about manually editing the config file to make it look like you are an authorized customer from a provider that gets all the ESPN networks, or am I reading this wrong? If I'm not, then I don't understand the response.


- BlueCop - 2011-11-21

It seems like you want to cancel your cable and then continue to get features that require a espn subscription. I don't like cable requirement. I get it free with att uverse internet alone. most require a cable subscriptions to espn. discussing how to bypass restrictions will get unwanted attention. There are many ways to bypass authorization on several services but it isn't supported. Even if it was then discussing them would just get them fixed.


- BlueCop - 2011-11-21

edogawa71 Wrote:can you post a fix for the replay update problem please.

I would be happy to if i knew it was the problem. Is the UTC time actually the problem? I haven't experienced the missing replay issue my self. I was hoping someone would report if that it indeed fixed it.