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)



ESPN3 outside US - pepper1972 - 2012-03-10

Macpatto and WildBill,

I am from Hong Kong and using xbmc on my ipad2. I have ESPN3 0.9.9 installed and it was working fine until a few days ago when it started giving the error Script failed! : plugin.video.espn3 . In the config/login page I have chosen Get New Use Files. and my userdata.xml reads:


<?xml version="1.0" encoding="UTF-8"?>
<user>
* * * * <affiliate>
* * * * * * * * <name>invalid</name>
* * * * * * * * <imageUrl><![CDATA[http://a.espncdn.com/espn360/images/affiliates/]]></imageUrl>
* * * * * * * * <websiteUrl><![CDATA[]]></websiteUrl>
* * * * * * * * <localAdAccountId></localAdAccountId>
* * * * </affiliate>

* * * * <location>
* * * * * * * * <ip>221.127.98.133</ip>
* * * * * * * * <country>hong kong</country>
* * * * * * * * <city>hong kong</city>
* * * * * * * * <state></state>
* * * * * * * * <continent>as</continent>
* * * * * * * * <dma></dma>
* * * * * * * * <zipCode></zipCode>
* * * * * * * * <domain>?</domain>
* * * * </location>

* * * * <personalization loginStatus="Anonymous Guest" swid="">
* * * * * * * * <username></username>
* * * * </personalization>
</user>


Any thoughts of getting the addon working again? your help is very much appreciated.


- WildBill - 2012-03-10

pepper1972 Wrote:Macpatto and WildBill,

I am from Hong Kong and using xbmc on my ipad2. I have ESPN3 0.9.9 installed and it was working fine until a few days ago when it started giving the error Script failed! : plugin.video.espn3 . In the config/login page I have chosen Get New Use Files. and my userdata.xml reads:


<?xml version="1.0" encoding="UTF-8"?>
<user>
* * * * <affiliate>
* * * * * * * * <name>invalid</name>
* * * * * * * * <imageUrl><![CDATA[http://a.espncdn.com/espn360/images/affiliates/]]></imageUrl>
* * * * * * * * <websiteUrl><![CDATA[]]></websiteUrl>
* * * * * * * * <localAdAccountId></localAdAccountId>
* * * * </affiliate>

* * * * <location>
* * * * * * * * <ip>221.127.98.133</ip>
* * * * * * * * <country>hong kong</country>
* * * * * * * * <city>hong kong</city>
* * * * * * * * <state></state>
* * * * * * * * <continent>as</continent>
* * * * * * * * <dma></dma>
* * * * * * * * <zipCode></zipCode>
* * * * * * * * <domain>?</domain>
* * * * </location>

* * * * <personalization loginStatus="Anonymous Guest" swid="">
* * * * * * * * <username></username>
* * * * </personalization>
</user>


Any thoughts of getting the addon working again? your help is very much appreciated.
Step 1: Go to addon setting, have everything unchecked except play in XBMC
Step 2: Go to http://www.espn3.com
Step 3: Go to http://broadband.espn.go.com/espn3/auth/userData
(If you skip step 2 no swid will show up in step 3)
Step 4: Edit your userdata.xml with your swid as in post #571 cookies is not needed from post #571


- pepper1972 - 2012-03-10

WildBill,

Thx for the reply. When I do step3, I get the following:

invalid http://a.espncdn.com/espn360/images/affiliates/221.127.96.99 hong kong hong kong as ?

Once again, I am using xbmc Eden on ipad2 from HONG KONG. Thx.


- WildBill - 2012-03-10

pepper1972 Wrote:WillBill,

Thx for the reply. When I do step3, I get the following:

invalid http://a.espncdn.com/espn360/images/affiliates/221.127.96.99 hong kong hong kong as ?

Once again, I am using xbmc Eden on ipad2 from HONG KONG. Thx.
Espn might of close the non us loophole. The only other thing I got is going by a US proxy


Many thanks to all - rangernm - 2012-03-11

Because I'm as noob as any newbie in this forum, and wouldn't know how to code if my life depended on it, I want to thank you all (most especially BlueCop) for all the efforts in putting the ESPN add-on together and then patiently explaining to rest of us how to get it to work. Having been abandoned by Boxee, I'm venturing further out into a wilderness I've never been in before. I've spent the better part of an afternoon figuring out how to do things I've never done before and filling in holes where I though they might be (I have an ESPN3 account, so I couldn't follow all of the given directions verbatim) and doing a fair bit of trial and error. I'm still pretty sure I don't understand most of what I just did, but it's working like a charm and I couldn't be happier.

Thank you, thank you, thank you.


RE: [RELEASE] ESPN3.com Addon - mrdally204 - 2012-03-11

To the devs,
Fantastic work! I love this add on. I was able to also make very minor changes to make it work for the Xbox version of XBMC. First off I had to comment out lines 16 and 17 in mechanize/lib/mechanize/Msiecookiejar.py.
Quote:#if os.name == "nt":
# import _winreg
Evidently Xbox does not reply correctly to this inquiry and attempts to load winreg which does not exist. Once this is complete, I had to manually create the folder plugin.video.espn3 in the addon_data folder. Then it works like expected.

Question 1: Answered already!
Question 2: can you force the ESPN addon to create the addon_data folder it needs in order to function(plugin.video.espn3). Having these two items in place will allow many more people to enjoy this amazing work you continue to produce! Thanks again and looking forward to a response!


RE: [RELEASE] ESPN3.com Addon - sputnik1 - 2012-03-12

I'm having the same issue as posts 1105 and 1106. Looks like my errors are the same as the ones boywondr16 posted in his log.

Plugin was working fine on ATV for months and now I get a script error. I reinstalled the plugin and redid userdata.xml (including my valid swid) to no avail.

Config:
- ATV 4.4.4
- XBMC 11.0-RC2
- ESPN 0.9.9


Log here fragment here:
02:59:40 T:132612096 NOTICE: -->Python Interpreter Initialized<--
02:59:43 T:132612096 NOTICE: Mode: 2
02:59:43 T:132612096 NOTICE: URL: http://espn.go.com/watchespn/feeds/startup?action=replay&channel=espn3&endDate=20120312&startDate=20120302
02:59:43 T:132612096 NOTICE: Name: Replay 10 Days
02:59:43 T:132612096 NOTICE: List sports
02:59:43 T:132612096 NOTICE: ESPN3: get_html: http://espn.go.com/watchespn/feeds/startup?action=replay&channel=espn3&endDate=20120312&startDate=20120302
02:59:52 T:132612096 NOTICE: -->Python Interpreter Initialized<--
02:59:54 T:132612096 NOTICE: Mode: 3
02:59:54 T:132612096 NOTICE: URL: http://espn.go.com/watchespn/feeds/startup?action=replay&channel=espn3&endDate=20120312&startDate=20120302
02:59:54 T:132612096 NOTICE: Name: Soccer
02:59:54 T:132612096 NOTICE: Index by sport
03:00:03 T:132612096 NOTICE: -->Python Interpreter Initialized<--
03:00:04 T:132612096 NOTICE: Mode: 4
03:00:04 T:132612096 NOTICE: URL: &partnerContentId=415621&eventId=176-19932&contentId=20155071
03:00:04 T:132612096 NOTICE: Name: Betis vs. Real Madrid
03:00:04 T:132612096 NOTICE: Play Video
03:00:04 T:132612096 NOTICE: ESPN3: get_html: http://espn.go.com/watchespn/player/config
03:00:05 T:132612096 NOTICE: ESPN3: get_html: https://espn-ws.bamnetworks.com/pubajaxws/bamrest/MediaService2_0/op-findUserVerifiedEvent/v-2.1?platform=WEB_MEDIAPLAYER&playbackScenario=FMS_CLOUD&channel=espn3&partnerContentId=415621&eventId=176-19932&contentId=20155071&rand=0.9663147422642735&cdnName=PRIMARY_AKAMAI&identityPointId=invalid:{62C98669-6004-40D0-B9CE-245336FADE4F}&playerId=domestic
03:00:05 T:132612096 NOTICE: <?xml version='1.0' encoding='utf-8'?>
<user-verified-media-response xmlns="http://services.bamnetworks.com/media/types/2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<status-code>
-3000
</status-code>
</user-verified-media-response>
03:00:05 T:132612096 ERROR: Error Type: <type 'exceptions.AttributeError'>
03:00:05 T:132612096 ERROR: Error Contents: 'NoneType' object has no attribute 'find'
03:00:05 T:132612096 ERROR: Traceback (most recent call last):
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.espn3/default.py", line 592, in <module>
PLAYESPN3(url)
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.espn3/default.py", line 222, in PLAYESPN3
PLAY(url,'n360')
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.espn3/default.py", line 274, in PLAY
if not authstatus.find('successstatus'):
AttributeError: 'NoneType' object has no attribute 'find'
03:00:05 T:120266752 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.espn3/?url=%26partnerContentId%3D415621%26eventId%3D176-19932%26contentId%3D20155071&mode=4&name=Betis+vs.++Real+Madrid]


RE: [RELEASE] ESPN3.com Addon - jackal8ca - 2012-03-13

Ok I am logged into espn3.com (watching Knicks vs Bulls as I write this)

ATV2 and iMAC
XBMC 11-RC2
ESPN 0.9.9

When I try http://broadband.espn.go.com/espn3/auth/userData (in several different browsers logged in on espn3) I get the following with no SWID (IP removed)

<?xml version="1.0" encoding="UTF-8"?>

<user>
<affiliate>
<name>frontier_vrz</name>
<imageUrl><![CDATA[http://a.espncdn.com/espn360/images/affiliates/frontier.png]]></imageUrl>
<websiteUrl><![CDATA[http://www.frontieronline.com]]></websiteUrl>
<localAdAccountId>null</localAdAccountId>
</affiliate>

<location>
<ip>xxx.xxx.xxx.xxx</ip>
<country>united states</country>
<city>san antonio</city>
<state>texas</state>
<continent>na</continent>
<dma>37</dma>
<zipCode></zipCode>
<domain>something.com</domain>
</location>

<personalization loginStatus="Anonymous Guest" swid="">
<username></username>
</personalization>
</user>

I am in canada using a US VPN but just can't get a swid. Any ideas on getting one? I tried to put the above (anonymos Guest and blank swid) in but get script error

Thanks


RE: [RELEASE] ESPN3.com Addon - walkities - 2012-03-15

Hey all,

new to this plugin and have read post 571 but have a few questions.

I've gotten my SWID but being from Canada will that effect it from working at all? Do I need a US Proxy (as I see it is only available to select US providers)?

if not, I have it installed on my ATV2 but in the mentioned directory I find no folder for ESPN, I do see a plugin folder in private/var/mobile/Library/Preferences/XBMC/addons, should the cookies file and userdata file be put in here instead?


RE: [RELEASE] ESPN3.com Addon - WildBill - 2012-03-15

(2012-03-15, 18:19)walkities Wrote: Hey all,

new to this plugin and have read post 571 but have a few questions.

I've gotten my SWID but being from Canada will that effect it from working at all? Do I need a US Proxy (as I see it is only available to select US providers)?

if not, I have it installed on my ATV2 but in the mentioned directory I find no folder for ESPN, I do see a plugin folder in private/var/mobile/Library/Preferences/XBMC/addons, should the cookies file and userdata file be put in here instead?
In the espn plugin setting and check get new userdata then start the plugin and go back to setting and uncheck get new userdata. Now go edit your userdata.xml with your swid and a us provider just like in post 571.


RE: [RELEASE] ESPN3.com Addon - mrdally204 - 2012-03-15

Hey Bluecop,
I posted this a few back but my have been lost in the mix as I was discussing a script as well. Can you force the ESPN addon to create the addon_data folder it needs in order to function as it does not curently do this on Xbox(plugin.video.espn3). I have figured out how to overcome the the issue with Msiecookiejar.py and submitted the "fix" to Sphere. Thanks either way, love each addon you are a part of!


RE: [RELEASE] ESPN3.com Addon - RuiJay - 2012-03-15

(2012-03-15, 18:29)WildBill Wrote:
(2012-03-15, 18:19)walkities Wrote: Hey all,

new to this plugin and have read post 571 but have a few questions.

I've gotten my SWID but being from Canada will that effect it from working at all? Do I need a US Proxy (as I see it is only available to select US providers)?

if not, I have it installed on my ATV2 but in the mentioned directory I find no folder for ESPN, I do see a plugin folder in private/var/mobile/Library/Preferences/XBMC/addons, should the cookies file and userdata file be put in here instead?
In the espn plugin setting and check get new userdata then start the plugin and go back to setting and uncheck get new userdata. Now go edit your userdata.xml with your swid and a us provider just like in post 571.
I will give your suggestion a try tonight.. I miss this plugin real bad!



RE: [RELEASE] ESPN3.com Addon - RuiJay - 2012-03-16

I edited the userxml and cookies file, but for some reason they rolled back to how they were previously. Not sure how they got rolled back. Anybody has an idea?

edit = finally got it to work. I have deleted the cookie and userxml files completly from the userdata folder, restrated the box, then moved the new files with my data in. I also unchecked all the button in the addon settings (including enable login).. now it works Smile
Hope this will help someone!




RE: [RELEASE] ESPN3.com Addon - Ludeboy12 - 2012-03-17

Damn I really wish I could get this to work so I could watch the 12 hours of Sebring on my Tv instead of on my computer. Can't get the script to even load though.


RE: [RELEASE] ESPN3.com Addon - CHRONiC YOUTH - 2012-03-17

Great add on just installed for the first time today! So far I have been able to get a few videos to play (ESPN & ESPN 2) with my watchespn account info entered but anything that is on espn3 is script error.. I tried to install it with the anonymous login and swid on my iPad too and all espn 3 videos are still giving me a script error, does anyone have any espn 3 links working?