• 1
  • 9
  • 10
  • 11(current)
  • 12
  • 13
Release ESPN 3 Fork
I've been messing with the various instructions in this thread but can't seem to find a solution.

The ESPN3 addon works great for me, with no manual configuration, for almost all sports. Using OpenELEC, Kodi 14.2.

But for Curling (World Championship), I get a "Script Failed" error. Only for Curling. Whether it's live or a replay.

Other sports (baseball, tennis, basketball) all work fine.

I have tried editing the userdata.xml file, based on the instructions in this thread. I can watch curling just fine on my home PC and laptop, and through the WatchESPN app on my tablet. All (including my OpenElec rig) are connected on my home internet, provided by Comcast. My PC and laptop don't require a login to watch curling via a browser. My tablet does, and since my home TV provider is DirecTV (I have Comcast for bare internet, no TV) I don't have a Comcast login. But the DirecTV login works fine on the tablet (again, I'm not prompted for a login on my home internet connection).

Any thoughts? Really at a loss for this one.

Log File: http://goo.gl/KFTYPS
Zed's no moving parts HTPC
i3 2100, Thermalright Ultra 120 HS, 4GB DDR3, 60GB OCZ Vertex 2 SSD, Z68 Mobo, Silverstone TJ08B-E Case, Seasonic 400FL PSU, Onkyo TX-SR608

Zed's Trinity uHTPC
A10 5700, Noctua NH-L9a HSF, 4GB DDR3, 64GB Crucial M4 SSD, MSI FM2-A75IA-E53 Mobo, Wesena ITX4 Case w/90W PSU

Reply
(2015-03-31, 04:02)bznotins Wrote: But for Curling (World Championship), I get a "Script Failed" error. Only for Curling. Whether it's live or a replay.

I've never tried to watch Curling with this addon until now, but I'm getting the same results. I have TWC internet without TV, and I see the same error in my log file that you are getting. All other events seem to work fine, but for some reason the addon is throwing an error when attempting to authenticate for Curling.

Sorry I can't help, but at least you know you're not going crazy.
Kodi Nexus (20.2) on Dell Optiplex 980 Lubuntu 22.04 | Kodi Matrix (19.3) on HTPC Lubuntu 20.04 | My Add-ons | Legacy Repo | Matrix Repo
>>>>> Newest MetalChris Addons: Local Now | Redbox | NEWSnet| NHL Radio | Weather Unlocked
Reply
(2015-04-01, 00:49)MetalChris Wrote:
(2015-03-31, 04:02)bznotins Wrote: But for Curling (World Championship), I get a "Script Failed" error. Only for Curling. Whether it's live or a replay.

I've never tried to watch Curling with this addon until now, but I'm getting the same results. I have TWC internet without TV, and I see the same error in my log file that you are getting. All other events seem to work fine, but for some reason the addon is throwing an error when attempting to authenticate for Curling.

Sorry I can't help, but at least you know you're not going crazy.

Thanks for checking and replying -- good to know I'm not the only one!
Zed's no moving parts HTPC
i3 2100, Thermalright Ultra 120 HS, 4GB DDR3, 60GB OCZ Vertex 2 SSD, Z68 Mobo, Silverstone TJ08B-E Case, Seasonic 400FL PSU, Onkyo TX-SR608

Zed's Trinity uHTPC
A10 5700, Noctua NH-L9a HSF, 4GB DDR3, 64GB Crucial M4 SSD, MSI FM2-A75IA-E53 Mobo, Wesena ITX4 Case w/90W PSU

Reply
it's doing the same thing like before.

it's not reporting the right information:
Code:
eventId=&contentId=

for whatever reason... Undecided

if you go to this page -- http://espn.go.com/watchespn/feeds/start...e=20150321
and search for curling

you'll see:
Code:
<event id="2373073" type="replay" bamContentId="" bamEventId="" mediaState="MEDIA_ARCHIVE">
the bamContentId and bamEventId are empty.

obviously it's getting played somehow.
maybe there's another xml page we can pull from.

if i have time, i'll look into it.
-------------------------------------------------

a little more digging. any stream that has HLS, as opposed to RTMP, for the source is not reporting this information.
also notice that these streams have commercials.

i don't know enough about streaming sources... i'll still try to find out what I can.
Linux Mint 18 LTS 64-bit - Kodi 17 Beta6
Odroid-C2 - Libreelec v7.90.009
Reply
Call out to Coders to help disect the ESPN 3 addon!!!!

there's potential to get Higher bit rates!!
Code:
#EXTM3U
#EXT-X-VERSION:5
#EXT-UPLYNK-LIVE
#EXT-X-START:TIME-OFFSET=0.0
#EXT-X-INDEPENDENT-SEGMENTS
#UPLYNK-MEDIA0:320x180x30,baseline-13,2x48000
#EXT-X-STREAM-INF:PROGRAM-ID=1,RESOLUTION=320x180,BANDWIDTH=450560,CODECS="mp4a.40.5,avc1.42000d"
http://content-ausw1.uplynk.com/channel/48ac364f60284640be93939cc754a729/d.m3u8
#UPLYNK-MEDIA0:512x288x30,baseline-21,2x48000
#EXT-X-STREAM-INF:PROGRAM-ID=1,RESOLUTION=512x288,BANDWIDTH=901120,CODECS="mp4a.40.5,avc1.420015"
http://content-ausw1.uplynk.com/channel/48ac364f60284640be93939cc754a729/e.m3u8
#UPLYNK-MEDIA0:768x432x30,main-30,2x48000
#EXT-X-STREAM-INF:PROGRAM-ID=1,RESOLUTION=768x432,BANDWIDTH=1351680,CODECS="mp4a.40.5,avc1.4d001e"
http://content-ausw1.uplynk.com/channel/48ac364f60284640be93939cc754a729/f.m3u8
#UPLYNK-MEDIA0:896x504x30,main-31,2x48000
#EXT-X-STREAM-INF:PROGRAM-ID=1,RESOLUTION=896x504,BANDWIDTH=2478080,CODECS="mp4a.40.5,avc1.4d001f"
http://content-ausw1.uplynk.com/channel/48ac364f60284640be93939cc754a729/g.m3u8
#UPLYNK-MEDIA0:896x504x30,high-31,2x48000
#EXT-X-STREAM-INF:PROGRAM-ID=1,RESOLUTION=896x504,BANDWIDTH=3942400,CODECS="mp4a.40.5,avc1.64001f"
http://content-ausw1.uplynk.com/channel/48ac364f60284640be93939cc754a729/h.m3u8
#UPLYNK-MEDIA0:1280x720x30,high-31,2x48000
#EXT-X-STREAM-INF:PROGRAM-ID=1,RESOLUTION=1280x720,BANDWIDTH=5068800,CODECS="mp4a.40.5,avc1.64001f"
http://content-ausw1.uplynk.com/channel/48ac364f60284640be93939cc754a729/i.m3u8
#UPLYNK-MEDIA0:320x180x30,baseline-13,2x48000
#EXT-X-STREAM-INF:PROGRAM-ID=1,RESOLUTION=320x180,BANDWIDTH=171212,CODECS="mp4a.40.5,avc1.42000d"
http://content-ausw1.uplynk.com/channel/48ac364f60284640be93939cc754a729/b.m3u8
#UPLYNK-MEDIA0:320x180x30,baseline-13,2x48000
#EXT-X-STREAM-INF:PROGRAM-ID=1,RESOLUTION=320x180,BANDWIDTH=225280,CODECS="mp4a.40.5,avc1.42000d"
http://content-ausw1.uplynk.com/channel/48ac364f60284640be93939cc754a729/c.m3u8

just need to figure out how to parse the m3u file, and also try to figure out how / when the site generates this pkan number
Code:
http://broadband.espn.go.com/espn3/auth/watchespn/startSession?v=1.5&playbackScenario=FMS_CLOUD&channel=espn3&partnerContentId=2395325&eventId=176-226005&contentId=59398183&simulcastAiringId=181994123&rand=159707&cdnName=PRIMARY_AKAMAI&affiliate=wow&pkan=e0E1OEY3RkI4LUE2QkUtNDRFMS04QzUxLURCRERFNjNCNzE2NH0%3D&pkanType=SWID&playerId=domestic&pkanType=SWID&playerId=domestic
Linux Mint 18 LTS 64-bit - Kodi 17 Beta6
Odroid-C2 - Libreelec v7.90.009
Reply
The ESPN website, when I looked at it, now requires users to authenticate with a valid cable id to unlock content. The URLs given above are protected by Kaltura and usually require TVE authentication. I would say that it's going to be pretty tough to get the addon going again and even if you can, it most likely won't be usable to folks without ESPN in their cable package. For folks with ESPN in cable, the easiest way that I know of to access from Kodi is to get a cheap Amazon Fire Stick (or TV) and access the android app from Kodi menus. It's pretty painless and is reasonably integrated.
Reply
(2015-04-01, 17:09)locomot1f Wrote: a little more digging. any stream that has HLS, as opposed to RTMP, for the source is not reporting this information.

I've patched the addon to check for the stream type. Any events that have an HLS source will be ignored and not displayed in the menus. Not a solution, but at least I won't waste any time trying watch an event that won't work. Might be worth adding this to the official release until you or one of the millions of people smarter than me can get this sorted.

I almost killed this addon when I tried to make a pull request on github last time, so I'll play it safe this time and just post a link to my modified default.py file. Wink I added four lines of code - one at line 105, and three at line 187. It works on Gotham and Kodi Alpha2, and should be safe for anything in between.

Also, I did find some references to the pkan number in the old ESPN3 addon thread starting here. And another post here that seems to explain the pkan number and it's origin, but goes way over my head. Might be useful to someone who's better versed in this stuff than I am.
Kodi Nexus (20.2) on Dell Optiplex 980 Lubuntu 22.04 | Kodi Matrix (19.3) on HTPC Lubuntu 20.04 | My Add-ons | Legacy Repo | Matrix Repo
>>>>> Newest MetalChris Addons: Local Now | Redbox | NEWSnet| NHL Radio | Weather Unlocked
Reply
Hello. Yes, I am new here, but I have been looking over several threads as I too have been having problems getting ESPN3 to work. The program would open and show me the lists of live games, upcoming games, and recorded games. But nothing would play. I was using Openelec on a Raspberry Pi B+ (not a pi 2). After trying several things, I finally came across one that worked for me. It was about updating the librtmp file. I first found it here: http://forum.kodi.tv/showthread.php?tid=162307. RedPenguin seems to have a lot of good info, and his link for openelec information is http://forum.kodi.tv/showthread.php?tid=...pid1481392, which also has a link to his repo page that has the librtmp updates that he is updating (which looks like he is doing several of them).

I don't know if this is the true solution, but it is one that worked for me that I thought I would share with the group.
Reply
now there's a NEW format in the system > HDS

way more secured, and looks like almost impossible to decrypt.
seems like HDS format is getting pulled from a completely different server > espn3mlbam.espn.go.com
which seems to be not accessible from an outside computer. so seems there is another layer that has been added on.

I'm close to figuring out HLS -- unfortunately, you will need to know your pkan number.

but this HDS... looks like a dead end...
Linux Mint 18 LTS 64-bit - Kodi 17 Beta6
Odroid-C2 - Libreelec v7.90.009
Reply
I did it!

if you can use wireshark (or equivalent) to figure out your pkan number, then I have figured out how to get HLS streams to work.

not very stable.. buffering a lot -- on my end anyway. but it's at 720p
Linux Mint 18 LTS 64-bit - Kodi 17 Beta6
Odroid-C2 - Libreelec v7.90.009
Reply
(2015-05-30, 23:09)locomot1f Wrote: I did it!

if you can use wireshark (or equivalent) to figure out your pkan number, then I have figured out how to get HLS streams to work.

not very stable.. buffering a lot -- on my end anyway. but it's at 720p

Wouldn't know where to start. Some help would definitely be appreciated. I recently realized this addon no longer works. Thanks.
Reply
yeah... starting to notice that a lot of the LIVE streams are being streamed through HDS format.. Sad

still plugging away, looking for a solution, but I fear the window is getting smaller, and smaller.

most replays still stream in RTMP, and the add-on should work for most of them -- especially the soccer streams.
Linux Mint 18 LTS 64-bit - Kodi 17 Beta6
Odroid-C2 - Libreelec v7.90.009
Reply
(2015-05-30, 23:09)locomot1f Wrote: I did it!

I knew you could!

(2015-05-30, 23:09)locomot1f Wrote: if you can use wireshark (or equivalent) to figure out your pkan number, then I have figured out how to get HLS streams to work.

not very stable.. buffering a lot -- on my end anyway. but it's at 720p

So are you saying the pkan number is assigned to the user or ip address (kind of like the SWID), rather than being unique for each stream?
Kodi Nexus (20.2) on Dell Optiplex 980 Lubuntu 22.04 | Kodi Matrix (19.3) on HTPC Lubuntu 20.04 | My Add-ons | Legacy Repo | Matrix Repo
>>>>> Newest MetalChris Addons: Local Now | Redbox | NEWSnet| NHL Radio | Weather Unlocked
Reply
(2015-06-02, 23:48)MetalChris Wrote: So are you saying the pkan number is assigned to the user or ip address (kind of like the SWID), rather than being unique for each stream?

yeah, I'm actually trying to figure out if the pkan number is actually a random string.

still early to tell.

it's this damn HDS stream type that has me more worried.
all the Live tennis matches were streamed in HDS.
the replays are streamed in RTMP, so no problem there.
Linux Mint 18 LTS 64-bit - Kodi 17 Beta6
Odroid-C2 - Libreelec v7.90.009
Reply
I just read through all of this as well as other pages, and installed librtmp1 in ubuntu on my laptop and wow it worked. However it was not my goal to make this work on laptop. I was helping a friend who is dying to see French Open replays that stream fine on my system but not on hers. So I tested on my laptop (These are all ubuntu 14.04 linux systems)

Now here is the odd part ...
I went home and got it to work immediately with no chqanges . I came back to her place and it seems there must be a difference in modem router config . We have same internet providers and are blocks away from each other. We both have TelMex INfinitum Internet but I use a bridging mode modem and a D-Link router . Anywhere I have the bridging mode modem and d-link DIR-636l router, I have since discovered this addon works

Where there are Huwei Router/modem combos it apparently does not. I tried disabling firewall on Huwei as well as enabling/disabling UPNP.

Clearly it seems the router plays a role in this addon working or not.


_________Edit__________
First we tested with a different modem/router at this problematic location , and it worked. Then, we did a reset on the old original modem/router and all worked perfectly. Clearly some setting in the modem/router inhibited this addon
Reply
  • 1
  • 9
  • 10
  • 11(current)
  • 12
  • 13

Logout Mark Read Team Forum Stats Members Help
ESPN 3 Fork2