OK,
Getting closer. I've got this up and running on my ubuntu laptop, but am still getting errors on openelec on a raspberry pi.
Here's what I did on the laptop:
1. Installed bluecop repository. Hit "check for updates" and "force refresh" from the context menu a couple of times until I could see the add on
2. Installed plugin
3. In a browser, open a stream in watchespn.com
4. right click
http://broadband.espn.go.com/espn3/auth/userData , and save file as userdata.xml
5. Copy userdata.xml to ~/.xbmc/userdata/addon_data/plugin.video.espn3/custom/userdata.xml
6. In the plugin configuration, I enabled "use custom user files". I also filled in my login info and cable provider (verizon in my case). Don't know if this is necessary or not.
That's it. I didn't have to mess around with cookie files, or the swid or anything. The userdata.xml file, as I created it, already had all the info filled in. Also didn't have to upgrade the librtmp file (I'm using the stock repository frodo xbmc). Hopefully this helps, as there's a ton of disjointed info in this (very very long) thread. Issues:
1. I only get espn3. No espnu, espn, espn2. I'm not sure if I'm supposed to be getting these channels or not through the addon.
2. Can't get it working on the rpi. I copied the same userdata.xml file from the laptop to /storage/.xbmc/userdata/addon_data/plugin.video.espn3/custom
Here's the error from the log file (don't know if I should be posting this inline or as an attachment or what):
Code:
17:30:19 T:2937644128 ERROR: AddCachedTexture failed on url '/storage/.xbmc/addons/plugin.video.espn3/fanart.jpg'
17:30:22 T:2895434848 NOTICE: -->Python Interpreter Initialized<--
17:30:30 T:2895434848 NOTICE: Mode: None
17:30:30 T:2895434848 NOTICE: URL: None
17:30:30 T:2895434848 NOTICE: Name: None
17:30:30 T:2895434848 NOTICE: Generate Main Menu
17:30:30 T:2928989280 NOTICE: Thread Background Loader start, auto delete: false
17:30:40 T:2793972832 ERROR: SQL: The database disk image is malformed
Query: SELECT id, cachedurl, lasthashcheck, imagehash, width, height FROM texture JOIN sizes ON (texture.id=sizes.idtexture AND sizes.size=1) WHERE url='special://home/addons/plugin.video.espn3/fanart.jpg'
17:30:40 T:2793972832 ERROR: GetCachedTexture, failed on url 'special://home/addons/plugin.video.espn3/fanart.jpg'
17:30:40 T:2793972832 ERROR: COMXImage::ReadFile special://home/addons/plugin.video.espn3/fanart.jpg GetCodingType=0x7
17:30:40 T:2729497696 ERROR: SQL: The database disk image is malformed
Query: SELECT id, cachedurl, lasthashcheck, imagehash, width, height FROM texture JOIN sizes ON (texture.id=sizes.idtexture AND sizes.size=1) WHERE url='special://home/addons/plugin.video.espn3/live.png'
17:30:41 T:2729497696 ERROR: GetCachedTexture, failed on url 'special://home/addons/plugin.video.espn3/live.png'
17:30:41 T:2793972832 WARNING: JpegIO: Error 55: Not a JPEG file: starts with 0x%02x 0x%02x
17:30:42 T:2793972832 ERROR: SQL: The database disk image is malformed
Query: DELETE FROM texture WHERE url='special://home/addons/plugin.video.espn3/fanart.jpg'
17:30:42 T:2793972832 ERROR: AddCachedTexture failed on url 'special://home/addons/plugin.video.espn3/fanart.jpg'
17:30:42 T:2729497696 ERROR: SQL: The database disk image is malformed
Query: DELETE FROM texture WHERE url='special://home/addons/plugin.video.espn3/live.png'
17:30:42 T:2729497696 ERROR: AddCachedTexture failed on url 'special://home/addons/plugin.video.espn3/live.png'
17:30:42 T:2895434848 NOTICE: Thread XBPyThread start, auto delete: false
17:30:43 T:2895434848 NOTICE: -->Python Interpreter Initialized<--
17:30:47 T:2895434848 NOTICE: Mode: 1
17:30:47 T:2895434848 NOTICE: URL: http://espn.go.com/watchespn/feeds/startup?action=live&channel=espn1,espn2,espn3,espnu
17:30:47 T:2895434848 NOTICE: Name: Live
17:30:47 T:2895434848 NOTICE: Indexing Videos
17:30:47 T:2895434848 NOTICE: ESPN3: get_html: http://espn.go.com/watchespn/feeds/startup?action=live&channel=espn1,espn2,espn3,espnu
17:30:48 T:2895434848 WARNING: GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '59.1872827649' as 59 minutes
17:30:48 T:2895434848 WARNING: GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '59.1868979494' as 59 minutes
17:30:48 T:2895434848 WARNING: GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '59.1866815011' as 59 minutes
17:30:48 T:2895434848 WARNING: GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '89.1864022334' as 89 minutes
17:30:48 T:2895434848 WARNING: GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '134.186124166' as 134 minutes
17:30:48 T:2895434848 WARNING: GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '59.1859894156' as 59 minutes
17:30:48 T:2895434848 WARNING: GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '59.1856991847' as 59 minutes
17:30:48 T:2895434848 WARNING: GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '59.1854177316' as 59 minutes
17:30:48 T:2895434848 WARNING: GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '119.185202018' as 119 minutes
17:30:48 T:2895434848 WARNING: GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '89.1849574685' as 89 minutes
17:30:48 T:2895434848 WARNING: GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '59.1847176512' as 59 minutes
17:30:48 T:2895434848 WARNING: GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '-30.8154955149' as 4294967266 minutes
17:30:48 T:2895434848 WARNING: GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '119.184224983' as 119 minutes
17:30:48 T:2895434848 WARNING: GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '209.184035718' as 209 minutes
17:30:48 T:2895434848 WARNING: GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '209.183790298' as 209 minutes
17:30:48 T:2895434848 WARNING: GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '59.1834685683' as 59 minutes
17:30:49 T:2928989280 NOTICE: Thread Background Loader start, auto delete: false
17:30:55 T:2886247520 ERROR: SQL: The database disk image is malformed
Query: SELECT id, cachedurl, lasthashcheck, imagehash, width, height FROM texture JOIN sizes ON (texture.id=sizes.idtexture AND sizes.size=1) WHERE url='http://a.espncdn.com/espn360/images/fb/ncaaf/1105240.jpg'
17:30:55 T:2886247520 ERROR: GetCachedTexture, failed on url 'http://a.espncdn.com/espn360/images/fb/ncaaf/1105240.jpg'
17:30:56 T:2793972832 ERROR: SQL: The database disk image is malformed
Query: SELECT id, cachedurl, lasthashcheck, imagehash, width, height FROM texture JOIN sizes ON (texture.id=sizes.idtexture AND sizes.size=1) WHERE url='http://a.espncdn.com/espn360/images/fb/ncaaf/1177943.jpg'
17:30:56 T:2793972832 ERROR: GetCachedTexture, failed on url 'http://a.espncdn.com/espn360/images/fb/ncaaf/1177943.jpg'
17:30:56 T:2886247520 ERROR: SQL: The database disk image is malformed
Query: DELETE FROM texture WHERE url='http://a.espncdn.com/espn360/images/fb/ncaaf/1105240.jpg'
17:30:56 T:2886247520 ERROR: AddCachedTexture failed on url 'http://a.espncdn.com/espn360/images/fb/ncaaf/1105240.jpg'
17:30:56 T:2729497696 ERROR: SQL: The database disk image is malformed
Query: SELECT id, cachedurl, lasthashcheck, imagehash, width, height FROM texture JOIN sizes ON (texture.id=sizes.idtexture AND sizes.size=1) WHERE url='http://a.espncdn.com/espn360/images/fb/ncaaf/1166217.jpg'
17:30:56 T:2729497696 ERROR: GetCachedTexture, failed on url 'http://a.espncdn.com/espn360/images/fb/ncaaf/1166217.jpg'
17:30:56 T:2793972832 ERROR: SQL: The database disk image is malformed
Query: DELETE FROM texture WHERE url='http://a.espncdn.com/espn360/images/fb/ncaaf/1177943.jpg'
17:30:56 T:2793972832 ERROR: AddCachedTexture failed on url 'http://a.espncdn.com/espn360/images/fb/ncaaf/1177943.jpg'
17:30:57 T:2937644128 ERROR: SQL: The database disk image is malformed
Query: SELECT id, cachedurl, lasthashcheck, imagehash, width, height FROM texture JOIN sizes ON (texture.id=sizes.idtexture AND sizes.size=1) WHERE url='http://a.espncdn.com/espn360/images/fb/cfl/1081747.jpg'
17:30:57 T:2937644128 ERROR: GetCachedTexture, failed on url 'http://a.espncdn.com/espn360/images/fb/cfl/1081747.jpg'
17:30:57 T:2886247520 ERROR: SQL: The database disk image is malformed
Query: SELECT id, cachedurl, lasthashcheck, imagehash, width, height FROM texture JOIN sizes ON (texture.id=sizes.idtexture AND sizes.size=1) WHERE url='http://a.espncdn.com/espn360/images/ar/alms/1081745.jpg'
17:30:57 T:2886247520 ERROR: GetCachedTexture, failed on url 'http://a.espncdn.com/espn360/images/ar/alms/1081745.jpg'
17:30:57 T:2793972832 ERROR: SQL: The database disk image is malformed
Query: SELECT id, cachedurl, lasthashcheck, imagehash, width, height FROM texture JOIN sizes ON (texture.id=sizes.idtexture AND sizes.size=1) WHERE url='http://a.espncdn.com/espn360/images/fb/ncaaf/1164012.jpg'
17:30:57 T:2793972832 ERROR: GetCachedTexture, failed on url 'http://a.espncdn.com/espn360/images/fb/ncaaf/1164012.jpg'
17:30:59 T:2895434848 NOTICE: Thread XBPyThread start, auto delete: false
17:31:00 T:2895434848 NOTICE: -->Python Interpreter Initialized<--
17:31:00 T:2793972832 ERROR: SQL: The database disk image is malformed
Query: DELETE FROM texture WHERE url='http://a.espncdn.com/espn360/images/fb/ncaaf/1164012.jpg'
17:31:00 T:2793972832 ERROR: AddCachedTexture failed on url 'http://a.espncdn.com/espn360/images/fb/ncaaf/1164012.jpg'
17:31:00 T:2886247520 ERROR: SQL: The database disk image is malformed
Query: DELETE FROM texture WHERE url='http://a.espncdn.com/espn360/images/ar/alms/1081745.jpg'
17:31:00 T:2886247520 ERROR: AddCachedTexture failed on url 'http://a.espncdn.com/espn360/images/ar/alms/1081745.jpg'
17:31:01 T:2729497696 ERROR: SQL: The database disk image is malformed
Query: DELETE FROM texture WHERE url='http://a.espncdn.com/espn360/images/fb/ncaaf/1166217.jpg'
17:31:01 T:2729497696 ERROR: AddCachedTexture failed on url 'http://a.espncdn.com/espn360/images/fb/ncaaf/1166217.jpg'
17:31:01 T:2937644128 ERROR: SQL: The database disk image is malformed
Query: DELETE FROM texture WHERE url='http://a.espncdn.com/espn360/images/fb/cfl/1081747.jpg'
17:31:01 T:2937644128 ERROR: AddCachedTexture failed on url 'http://a.espncdn.com/espn360/images/fb/cfl/1081747.jpg'
17:31:02 T:2810750048 NOTICE: ES: Client from 127.0.0.1 timed out
17:31:04 T:2895434848 NOTICE: Mode: 4
17:31:04 T:2895434848 NOTICE: URL: &partnerContentId=1164012&eventId=176-176650&contentId=30776929
17:31:04 T:2895434848 NOTICE: Name: VMI vs. Virginia
17:31:04 T:2895434848 NOTICE: Play Video
17:31:04 T:2895434848 NOTICE: ESPN3: get_html: http://espn.go.com/watchespn/player/config
17:31:06 T:2895434848 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: 'NoneType' object has no attribute '__getitem__'
Traceback (most recent call last):
File "/storage/.xbmc/addons/plugin.video.espn3/default.py", line 592, in <module>
PLAYESPN3(url)
File "/storage/.xbmc/addons/plugin.video.espn3/default.py", line 222, in PLAYESPN3
PLAY(url,'n360')
File "/storage/.xbmc/addons/plugin.video.espn3/default.py", line 253, in PLAY
playedId = mediaFramework['playerid']
TypeError: 'NoneType' object has no attribute '__getitem__'
-->End of Python script error report<--
17:31:06 T:3047645184 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.espn3/?url=%26partnerContentId%3D1164012%26eventId%3D176-176650%26contentId%3D30776929&mode=4&name=VMI+vs.+Virginia]
17:31:06 T:2895434848 NOTICE: Thread Background Loader start, auto delete: false