Posts: 563
Joined: Nov 2010
Reputation:
10
2015-07-14, 05:03
(This post was last modified: 2015-07-14, 05:15 by mrdally204.)
I have time warner internet without a TV subscription. It may play into the issues. Maybe certain isps have limited availability based on subscription. Kodi log coming up
Log sent via PM
Posts: 213
Joined: Sep 2012
Reputation:
14
There is no difference in subscription packages. Once you have an ESPN package, you are allowed to watch ESPN3 using your internet service provider, it isn't sold separately. Keep in mind that the authentication + authorization works using a PC/browser or Android apps in the same household and yes that includes situations where TWC is just the ISP and the cable provider is someone different. The only time restrictions come into play is when the Blackout flag is set to true (and even that can perhaps be bypassed based on editing userdata in case of our addon).
Perhaps there are parts from the NBC app that are needed for full authentication and authorization since ESPN3 is also using adobe authentication. Not sure what causes Invalid IP for the HLS streams for some of us.
There is a very good extension called DHC in Chrome that can analyze headers, packets etc that can also give us some clues.
Posts: 563
Joined: Nov 2010
Reputation:
10
Thanks for the information siuside. From what I can tell I do not have access to any streams on the espn 3 website without logging in. I'm not sure where the "free" espn3 section is but I don't see it. Without editing my userdata xml I was unable to view anything even through the addon. Based on that, I made the assumption that ESPN may have different agreements with each ISP and my limit access to any stream according to their contract. I may be way off on that
Posts: 1
Joined: Jul 2015
Reputation:
0
I am getting a script error when attempting to show any replay list from ant time period. The pertinent part of the log file is below, Any help is appreciated.
08:02:08 T:6136 DEBUG: ------ Window Init (DialogBusy.xml) ------
08:02:08 T:5348 DEBUG: LocalizeStrings: no strings.po file exist at C:\Users\Will\AppData\Roaming\Kodi\addons\plugin.video.espn_3\resources\language\English, fallback to strings.xml
08:02:08 T:5348 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'xml.etree.ElementTree.ParseError'>
Error Contents: not well-formed (invalid token): line 1332, column 25
Traceback (most recent call last):
File "C:\Users\Will\AppData\Roaming\Kodi\addons\plugin.video.espn_3\addon.py", line 446, in <module>
LISTSPORTS(url,name)
File "C:\Users\Will\AppData\Roaming\Kodi\addons\plugin.video.espn_3\addon.py", line 82, in LISTSPORTS
for event in ET.XML(data).findall('event'):
File "C:\Program Files (x86)\Kodi\system\python\Lib\xml\etree\ElementTree.py", line 1300, in XML
parser.feed(text)
File "C:\Program Files (x86)\Kodi\system\python\Lib\xml\etree\ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "C:\Program Files (x86)\Kodi\system\python\Lib\xml\etree\ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: not well-formed (invalid token): line 1332, column 25
-->End of Python script error report<--
08:02:08 T:6136 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
08:02:08 T:5348 INFO: Python script stopped
08:02:08 T:5348 DEBUG: Thread LanguageInvoker 5348 terminating
08:02:08 T:5244 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating
08:02:08 T:6136 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.espn_3/?mode=2&name=Replay%2010%20Days&url=http%3a%2f%2fsports-ak.espn.go.com%2fwatchespn%2ffeeds%2fstartup%3faction%3dreplay%26channel%3despn3%26endDate%3d20150718%26startDate%3d20150707
08:02:08 T:6136 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.espn_3/?mode=2&name=Replay%2010%20Days&url=http%3a%2f%2fsports-ak.espn.go.com%2fwatchespn%2ffeeds%2fstartup%3faction%3dreplay%26channel%3despn3%26endDate%3d20150718%26startDate%3d20150707) failed
Posts: 4
Joined: Jul 2015
Reputation:
1
Surfisher,
I ran into the same issue.
The basic problem is that you're trying to get a date range that starts in the future. If you look at your log, you're trying to retrieve this:
plugin://plugin.video.espn_3/?mode=2&name=Replay%2010%20Days&url=http%3a%2f%2fsports-ak.espn.go.com%2fwatchespn%2ffeeds%2fstartup%3faction%3dreplay%26channel%3despn3%26endDate%3d20150718%26startDate%3d20150707
The "endDate" parameter is being passed "20150718," which my addon was attempting to use yesterday as well (and failing). After some analysis, I realized that the date range problem was causing bad XML to be returned from espn. So the key, for me, at least, was to fix the endDate in addon.py.
Line 46 of addon.py for this addon is:
enddate = '&endDate='+ (curdate+timedelta(days=1)).strftime("%Y%m%d")
So adding 1 to this value was resulting in a value two days into the future. Using this logic, I changed the line to this:
enddate = '&endDate=' - (curdate+timedelta(days=1)).strftime("%Y%m%d")
That allowed my links to work. I didn't do much analysis beyond this, but I recommend that this logic be altered in the repository. I'll let locomot1f weigh in since it seems like he's the guy in charge.
Posts: 1,338
Joined: Mar 2011
Reputation:
12
well, that's not cool.
it's kicking back some errors in the XML.
but if this is the case, then I have to figure out something else to get the replays for TODAY.
i'm gonna sit on it for a day, see if it's an error on ESPN's side that will get fixed.
Linux Mint 18 LTS 64-bit - Kodi 17 Beta6
Odroid-C2 - Libreelec v7.90.009