•   
  • 1
  • 103
  • 104
  • 105(current)
  • 106
  • 107
  • 110
  •   
[RELEASE] ESPN3.com Addon
wish ksosez and bluecop were still around... :-(
Linux Mint 18 LTS 64-bit - Kodi 17 Beta6
Odroid-C2 - Libreelec v7.90.009
Reply
wondering if, when you all login to you comcast / xfinity account, and you go to this page, what does it say?
http://espn.go.com/watchespn/partner/xfinity/config

can you post this page for me?
wondering if it is different... still think it's because i'm coming from a different network
Linux Mint 18 LTS 64-bit - Kodi 17 Beta6
Odroid-C2 - Libreelec v7.90.009
Reply
For comcast access, the bamnetworks URL gives me either status code -1000 or -1500 regardless of what I throw at it. However, looking at the traffic passed around by ESPN3 in a browser, I came across this link http://broadband.espn.go.com/espn3/auth/...artSession. It takes a lot of the same query string parameters as bamnetworks.com with the addition of affiliate (comcast), tokenType (COMCAST), pkan (no idea) and pkanType (TOKEN). The pkan parameter is some long hash looking string, and I'm still trying to work out how it gets generated, but that URL with a valid pkan yields an smil (yay). Just wanted to post my findings in case it can help someone else who is closer to the answer.

Edit: the referer that calls the broadband.espn.go.com link is http://assets.espn.go.com/espn360/builds...loader.swf
Reply
@akhill44 -- thanks for the info.
i did find this page too. but because of my limited access, i didn't get the information you received. this is great!

can you copy and paste this page with the SMIL to pastebin? so I can compare.
also, what happens if you try this default.py -- https://dl.dropboxusercontent.com/u/5277...comcast.py

you'll have to rename it obviously...

and can you pastebin your error log... if you get one?
Linux Mint 18 LTS 64-bit - Kodi 17 Beta6
Odroid-C2 - Libreelec v7.90.009
Reply
I can't get to dropbox currently, but the changes I've made to my current default.py are password vs passwd and changed the authurl in the PLAY function to the one I posted earlier - that said, I still get the error (I think it was the SMIL being null or nothing or whatever Python calls it, because without the pkan paramter, it doesn't authenticate). That's why I posted the link to that swf. I think the pkan gets generated somewhere in there (it's the referer to the link that yields the SMIL). I've taken the first step of decompiling it, but it's about 13k lines or so, and it's been years since I've done any actionscript. That said, when I get some time, I'll try to step through it to see if I can find it (unless someone else beats me to it).

I don't have the page with the SMIL handy right now either, but it basically looked the same as the XML doc you get without any credentials but with the added nodes that the original default.py accessed.

All said, I think the key is still the pkan parameter, and once we can figure out how that is encoded (assuming it doesn't require anything we don't yet have), we should be able to get the XML doc containing the SMIL. Side note: that value only gets passed from the referring swf to that broadband.espn.go.com link, and it doesn't get passed around anywhere else - that's how I came to the conclusion that it must be computed client-side in the swf.

Sorry for the incredibly vague post - I'll post more details when I can.




Tip to those who would like to help but find wireshark either overwhelming or consider it to be a particularly large needle stack in which to find a very specific needle. I would recommend Fiddler http://fiddler2.com/get-fiddler - it also runs in mono http://fiddler.wikidot.com/mono for Linux/OSX users.


_
Reply
@ akhill44 -- that's amazing!!!

basically what you did is what I found as well. that password was changed to passwd, and changing the authurl.

keep up the great work. let me know if I can help in anyway.

hopefully others will take on the challenge.
Linux Mint 18 LTS 64-bit - Kodi 17 Beta6
Odroid-C2 - Libreelec v7.90.009
Reply
Yes, you found those two things first, but I couldn't be bothered to click back through a page or two to save myself the trouble until I'd already done it Wink. I'm just going to tell myself that it was a worthwile exercise to get a little more familiar with the code...I might have some time to look at the swf tonight - will report back if I find anything useful.
Reply
Update: unfortunately, the login I was using is no longer good. I'm not sure how much progress I'll be able to make, but I will keep tracing through the ActionScript to see if I can find anything useful.
Reply
I have a Verizon login and, with locomot1f's lastest default.py and the regex changes I made for Verizon, I'm getting "SMIL url blank" when trying to play content. I'm not sure if that helps, but I thought I'd offer it anyway.
Image
Reply
(2013-09-13, 23:24)thrillerbee Wrote: I have a Verizon login and, with locomot1f's lastest default.py and the regex changes I made for Verizon, I'm getting "SMIL url blank" when trying to play content. I'm not sure if that helps, but I thought I'd offer it anyway.

That's actually different from what I was getting. My script was erroring out on authstatus before it could get to that point. Do you know what the query string parameters your authurl was using? (Also, probably not relevant, but what regex changes did you have to make for Verizon?)
Reply
(2013-09-14, 05:37)akhill44 Wrote: Do you know what the query string parameters your authurl was using? (Also, probably not relevant, but what regex changes did you have to make for Verizon?)

I don't know what params the authurl was using. Any way I could check?

Here's the regex change I made:
457c457
< verizonLogin = re.compile('function verizonLogin\(A\){(.*?)}').findall(data)[0]
---
> verizonLogin = re.compile('function verizonLogin\(affId\){if\(affId=="verizon"\){(.*?)}').findall(data)[0]
Image
Reply
(2013-09-14, 18:46)thrillerbee Wrote: I don't know what params the authurl was using. Any way I could check?

Here's the regex change I made:
457c457
< verizonLogin = re.compile('function verizonLogin\(A\){(.*?)}').findall(data)[0]
---
> verizonLogin = re.compile('function verizonLogin\(affId\){if\(affId=="verizon"\){(.*?)}').findall(data)[0]

Regarding the regex, looks like a lot of the login pages changed. For the authurl, I don't know if I added it or if locomot1f did, but if you add a line to print authurl around line 270, it should show you. Probably best not to post the entire thing here - just which parameters it has and which ones have values.

Edit: just realized I didn't really explain. After you verify that print statement is there or add it if it's not, it will show up in the xbmc log the next time you run the add-on.
Reply
@akhil44 are you able to watch espn2 with Verizon info? I am able to watch espn and espn3 but not espn2. I have not changed anything yet from the original addon default.py and seems like they work for me still.
Intel® Quad Core i5 Sandybridge @3.40GHz | ASRock Z775 Mobo 8GB DDR3 Ram | Logitech K400 Keyboard |
| Logitec Harmony 550 Remote| 46' Samsung LCD TV | Onkyo TX-S605 w/ Bose 5.1 Surround
Reply
(2013-07-23, 01:00)locomot1f Wrote: WOW!!!! I did it! I think I really got it!!!!

okay, everybody try this default.py -- (right click and 'save as')https://dl.dropboxusercontent.com/u/52776637/default.py

thanks for the inspiration from mwahah, mili, and others that pointed me in the right direction....

you'll should be able to use whatever setting you were using before. i just plugged in the authurl to the default.py.

Thanks! That fixed my ESPN3!
Reply
(2013-09-15, 17:32)hunkyn Wrote: @akhil44 are you able to watch espn2 with Verizon info? I am able to watch espn and espn3 but not espn2. I have not changed anything yet from the original addon default.py and seems like they work for me still.

I don't have a Verizon login, but I'm not sure (other than your television package) what would stop you from accessing ESPN2 if you can access ESPN. Can you access ESPN2 content in a regular web browser (or from a tablet/smartphone)?
Reply
  •   
  • 1
  • 103
  • 104
  • 105(current)
  • 106
  • 107
  • 110
  •   



Logout Mark Read Team Forum Stats Members Help
[RELEASE] ESPN3.com Addon12
This forum uses Lukasz Tkacz MyBB addons.