Release ESPN 3 - 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 ESPN 3 (/showthread.php?tid=230418) |
RE: ESPN 3 - locomot1f - 2015-07-13 @mrdally204, can you post the XML content that you get when going to this page? http://broadband.espn.go.com/espn3/auth/watchespn/startSession?v=1.5&affiliate=twc_sso&cdnName=PRIMARY_AKAMAI&channel=espn3&playbackScenario=FMS_CLOUD&pkan=mWYma49U6Ag4B4oVKZhztjui5CjFNnKbCsSHNkyssGYlOeHNwbx%3D&pkanType=SWID&eventid=2602961&simulcastAiringId=184448573&rand=114312&playerId=domestic starting to think there's some other authenticating going on that i'm missing. or, with the Live Pan Am games, look for this line: Code: ESPN3: get_html: http://broadband.espn.go.com/... RE: ESPN 3 - locomot1f - 2015-07-13 thanks, @MetalChris hard for me to trouble shoot something that is working for me. maybe that pkan number is random, but still tied to the IP in some way to authenticate. I know i've seen in some cookies, that states the level of access you can get. so, those are great questions @MetalChris poses: Quote:Do you have TWC cable and internet, or internet only? Are you able to watch any of the other streams, and can you watch anything on the WatchESPN website? RE: ESPN 3 - siuside - 2015-07-14 Agreed. Figuring this out will be the ticket to get other WatchESPN channels working too. WSJ article from 3 days ago http://blogs.wsj.com/cmo/2015/07/10/cmo-today-espn-tightens-belt-amid-cord-cutting/ The cable + internet part is probably a key thing here now that MetalChris has comprehensively demonstrated that it is not a system issue at all (Thanks for saving a lot of work for me MC, much appreciated). I am also of the diff cable , diff internet category here to add to the sample case for non working HLS streams. RE: ESPN 3 - mrdally204 - 2015-07-14 (2015-07-13, 23:49)locomot1f Wrote: @mrdally204, xml link was sent to you via PM. I'm not sure what you mean by looking for a line. Where at? within Kodi? on the web site? One thing that stood out to me was this line <blackout-keyword>ESPN_BLACKOUT</blackout-keyword> I'm wondering if they are showing it on regular ESPN and they blackout the ESPN3 feed because of it? RE: ESPN 3 - locomot1f - 2015-07-14 thanks, @mrdally204 the line of code i mentioned is in the kodi.log file from this XML, i'm noticing that the Code: <partner-content-id>null</partner-content-id> I was getting this to happen when I wasn't getting authenticated... when I didn't get the pkan token. I do think that the Code: <errorCode>INVALID_IP</errorCode> I get the blackout message too, so we can rule that out. RE: ESPN 3 - mrdally204 - 2015-07-14 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 RE: ESPN 3 - siuside - 2015-07-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. RE: ESPN 3 - mrdally204 - 2015-07-14 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 RE: ESPN 3 - surfisher - 2015-07-17 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 RE: ESPN 3 - xirtamozne - 2015-07-17 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. RE: ESPN 3 - locomot1f - 2015-07-18 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. RE: ESPN 3 - MetalChris - 2015-07-18 (2015-07-17, 23:23)xirtamozne Wrote: Surfisher, Nice catch on the incorrect date. Your suggested fix, however, is not working for me. The add-on won't even start, but throws a script failed error. Changing line 46 to this: Code: enddate = '&endDate='+ (curdate-timedelta(days=1)).strftime("%Y%m%d") allows the add-on to start, but only one replay shows for 7/16, all the other replays displayed are from 7/15 or older. RE: ESPN 3 - locomot1f - 2015-07-18 okay, so I think it's an error with the U.S. Open entry. When I try to pull up the URL in Firefox, I get this message: Code: XML Parsing Error: not well-formed i had stopped using Firefox, cause Adobe Flash has stopped supporting the Linux OS. so, again, a little reluctant to change any code. I mean, I can but I fear that once this goes into; 2 days ago, 5 days ago, 10 days ago, etc. the problem will still be the same.... until this event is gone, or ESPN fixes the title. sucks... RE: ESPN 3 - MetalChris - 2015-07-18 (2015-07-18, 01:08)locomot1f Wrote: i had stopped using Firefox, cause Adobe Flash has stopped supporting the Linux OS. Try using Pipelight. It allows you to use the Windoze version of Flash. I use it on all my 'buntu systems and it works fine in Firefox. RE: ESPN 3 - locomot1f - 2015-07-18 thanks for the heads-up, @MetalChris. i'll give it a whirl. still like Firefox a whole lot more than Chrome on Linux so, I downloaded the xml file. just saved the link as... and low and behold there's some funky escaped character in the title <name><![CDATA[ The Open Marquee Groups (First Round)]]></name> ----------------------------------------------------- it doesn't even show up on here. just a space. not sure if there's a whole lot I can do on my end. |