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)



- rudawgr - 2011-08-28

is there anyone having problem with espn3..i keep getting a error


- Papa_I - 2011-08-28

I just tried it on my ATV2 and had no issues.


- rudawgr - 2011-08-29

can someone please help me i keep getting a error every time i tried to play espn3 this is my log

"/var/mobile/Library/Preferences/XBMC/addons/plugin.video.espn3/default.py", line 225, in PLAY
smilurl = Soup(html).findAll('url')[0].string
IndexError: list index out of range
19:11:16 T:145584128 M:108662784 INFO: -->End of Python script error report<--
19:11:16 T:122355712 M:108662784 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
19:11:16 T:145584128 M:108265472 INFO: Python script stopped
19:11:16 T:145584128 M:108265472 DEBUG: Thread Python Thread 145584128 terminating
19:11:16 T:122355712 M:108265472 DEBUG: WaitOnScriptResult - plugin exited prematurely - terminating
19:11:16 T:122355712 M:108265472 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.espn3/?url=http%3A%2F%2Fespn.go.com%2Fespn3%2Fplayer%3Fid%3D219352%26league%3DMLB&mode=4&name=800PM+EDT%3ALos+Angeles+Angels+of+Anaheim+vs.+Texas+Rangers%3ABASEBALL%3AMLB]
19:11:16 T:122355712 M:108265472 DEBUG: Playlist Player: no more playable items... aborting playback
19:11:16 T:122355712 M:108269568 DEBUG: CGUIAudioManager::Initialize
19:11:16 T:122355712 M:108269568 DEBUG: waiting for python thread 23 to stop
19:11:16 T:122355712 M:108273664 DEBUG: python thread 23 destructed
19:11:16 T:145338368 M:108269568 DEBUG: Thread Background Loader start, auto delete: 0
19:11:16 T:145338368 M:107851776 DEBUG: Thread Background Loader 145338368 terminating
19:11:16 T:122355712 M:107851776 DEBUG: ------ Window Deinit (DialogProgress.xml) ------
19:11:21 T:122355712 M:108359680 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
19:11:26 T:122355712 M:108613632 INFO: Python, unloading python shared library because no scripts are running anymore
19:11:29 T:122355712 M:108507136 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.espn3/)
19:11:29 T:122355712 M:108507136 DEBUG: ParentPath = [addons://sources/video/]
19:11:29 T:122355712 M:108507136 DEBUG: Loading fileitems [plugin://plugin.video.espn3/]
19:11:29 T:122355712 M:108503040 DEBUG: -- items: 4, directory: plugin://plugin.video.espn3/ sort method: 0, ascending: false
19:11:29 T:137637888 M:108507136 DEBUG: Thread Background Loader start, auto delete: 0
19:11:29 T:137637888 M:108150784 DEBUG: Thread Background Loader 137637888 terminating
19:11:57 T:139808768 M:107687936 DEBUG: Thread Jobworker 139808768 terminating (autodelete)
19:11:59 T:136122368 M:107454464 DEBUG: Thread Jobworker 136122368 terminating (autodelete)


- Macpatto - 2011-08-29

On my ATV2 quits after 1 or 2 of playing live event, and on my mac does exact the same thing. I have done the fix on the addon replacing the phyton, but not much luck.. Any help be much appreciated.


- WildBill - 2011-08-29

Macpatto Wrote:On my ATV2 quits after 1 or 2 of playing live event, and on my mac does exact the same thing. I have done the fix on the addon replacing the phyton, but not much luck.. Any help be much appreciated.
Same here quits after a min or so on live streams but recorded play the whole stream.


- Macpatto - 2011-08-29

Wildbill.. Thanks for your input.
I have no problem with the replay events by certain sports.. Although the audio is kinda choppy, I still can watch the event.
Too bad the live isn't working too well. Oh well.. hopefully it gets fix sometime soon.


- locomot1f - 2011-08-30

rudawgr Wrote:can someone please help me i keep getting a error every time i tried to play espn3 this is my log

"/var/mobile/Library/Preferences/XBMC/addons/plugin.video.espn3/default.py", line 225, in PLAY
smilurl = Soup(html).findAll('url')[0].string
IndexError: list index out of range
19:11:16 T:145584128 M:108662784 INFO: -->End of Python script error report<--
19:11:16 T:122355712 M:108662784 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
19:11:16 T:145584128 M:108265472 INFO: Python script stopped
19:11:16 T:145584128 M:108265472 DEBUG: Thread Python Thread 145584128 terminating
19:11:16 T:122355712 M:108265472 DEBUG: WaitOnScriptResult - plugin exited prematurely - terminating
19:11:16 T:122355712 M:108265472 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.espn3/?url=http%3A%2F%2Fespn.go.com%2Fespn3%2Fplayer%3Fid%3D219352%26league%3DMLB&mode=4&name=800PM+EDT%3ALos+Angeles+Angels+of+Anaheim+vs.+Texas+Rangers%3ABASEBALL%3AMLB]
19:11:16 T:122355712 M:108265472 DEBUG: Playlist Player: no more playable items... aborting playback
19:11:16 T:122355712 M:108269568 DEBUG: CGUIAudioManager::Initialize
19:11:16 T:122355712 M:108269568 DEBUG: waiting for python thread 23 to stop
19:11:16 T:122355712 M:108273664 DEBUG: python thread 23 destructed
19:11:16 T:145338368 M:108269568 DEBUG: Thread Background Loader start, auto delete: 0
19:11:16 T:145338368 M:107851776 DEBUG: Thread Background Loader 145338368 terminating
19:11:16 T:122355712 M:107851776 DEBUG: ------ Window Deinit (DialogProgress.xml) ------
19:11:21 T:122355712 M:108359680 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
19:11:26 T:122355712 M:108613632 INFO: Python, unloading python shared library because no scripts are running anymore
19:11:29 T:122355712 M:108507136 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.espn3/)
19:11:29 T:122355712 M:108507136 DEBUG: ParentPath = [addons://sources/video/]
19:11:29 T:122355712 M:108507136 DEBUG: Loading fileitems [plugin://plugin.video.espn3/]
19:11:29 T:122355712 M:108503040 DEBUG: -- items: 4, directory: plugin://plugin.video.espn3/ sort method: 0, ascending: false
19:11:29 T:137637888 M:108507136 DEBUG: Thread Background Loader start, auto delete: 0
19:11:29 T:137637888 M:108150784 DEBUG: Thread Background Loader 137637888 terminating
19:11:57 T:139808768 M:107687936 DEBUG: Thread Jobworker 139808768 terminating (autodelete)
19:11:59 T:136122368 M:107454464 DEBUG: Thread Jobworker 136122368 terminating (autodelete)

It would seem that you need to replace the default.py file in your addon. Do a search on this thread for updated Default.py -- or search Ksosez's threads. I can't remember which thread number it is, but the answer is in here.


- locomot1f - 2011-08-30

Macpatto Wrote:On my ATV2 quits after 1 or 2 of playing live event, and on my mac does exact the same thing. I have done the fix on the addon replacing the phyton, but not much luck.. Any help be much appreciated.

if it's doing the same thing on your mac, it would seem that it's either:
1) a bandwidth issue
b) something wrong with ESPN's streaming servers. I wasn't watching anything live last nite, so I can't commit on the service.

Although, I can say that I have experienced what you are talking about, and it did seem to be more of a bandwidth issue on my end. my overall speeds were way down at the time. rebooted my cable modem box, and the problem went away.


- jshay - 2011-08-31

Firstly, thanks so much for an amazing plugin!

I am having an issue with live events, though. They play beautifully for approximately 5 minutes, at which point the video freezes and bounces back and forth between 2 frames. It does this for about 15 seconds before finally falling back to the list of live events. I can then start the event again and wait for another freeze.

Here is a 'tail' of the log file right after a freeze:

Code:
22:04:21 T:127406080 M: 82190336 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
22:04:22 T:109412352 M: 82190336 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
22:04:22 T:109412352 M: 82190336    INFO: CDVDPlayerVideo - Stillframe detected, switching to forced 29.916667 fps
22:04:22 T:109412352 M: 82190336   DEBUG: CPullupCorrection: pattern lost on diff 167130.919220
22:04:26 T:109412352 M: 82190336   DEBUG: CPullupCorrection: detected pattern of length 1: 33426.18, frameduration: 33426.183844
22:04:50 T:106004480 M: 82055168   ERROR: RTMP_ReadPacket, failed to read RTMP packet header
22:04:50 T:106004480 M: 82055168   DEBUG: CDVDPlayer::SetCaching - caching state 1
22:04:50 T:106004480 M: 82055168   DEBUG: CDVDPlayer::SetCaching - caching state 0
22:04:50 T:109412352 M: 82055168    INFO: CDVDPlayerVideo - Stillframe left, switching to normal playback
22:04:50 T:109412352 M: 82055168   DEBUG: CPullupCorrection: pattern lost on diff -28312403.899737
22:04:50 T:127406080 M: 82055168   DEBUG: CDVDPlayerAudio:: Discontinuity - was:448356263.500000, should be:419968038.291895, error:-28388225.208105
22:04:50 T:127406080 M: 82055168   DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_EOF
22:04:50 T:127406080 M: 82055168 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
22:04:50 T:109412352 M: 82055168 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
22:04:50 T:106004480 M: 82055168   DEBUG: CDVDPlayer::HandleMessages - player started 2
22:04:50 T:106004480 M: 82055168   DEBUG: CDVDPlayer::HandleMessages - player started 1
22:04:50 T:106004480 M: 82055168    INFO: Process - eof reading from demuxer
22:04:50 T:106004480 M: 82055168  NOTICE: CDVDPlayer::OnExit()
22:04:50 T:106004480 M: 82055168  NOTICE: DVDPlayer: eof, waiting for queues to empty
22:04:50 T:106004480 M: 82055168  NOTICE: DVDPlayer: closing audio stream
22:04:50 T:106004480 M: 82055168  NOTICE: Closing audio stream
22:04:50 T:106004480 M: 82055168  NOTICE: CDVDMessageQueue(audio)::WaitUntilEmpty
22:04:50 T:127406080 M: 82055168   DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_SYNCHRONIZE
22:04:50 T:106004480 M: 82055168  NOTICE: Waiting for audio thread to exit
22:04:50 T:127406080 M: 82055168   DEBUG: CDVDPlayerAudio::Process - Abort received, exiting thread
22:04:50 T:127406080 M: 82055168  NOTICE: thread end: CDVDPlayerAudio::OnExit()
22:04:50 T:127406080 M: 82055168   DEBUG: Thread CDVDPlayerAudio 127406080 terminating
22:04:50 T:106004480 M: 82059264  NOTICE: Closing audio device
22:04:50 T:106004480 M: 82059264    INFO: CIOSAudioRenderer::Deinitialize: Renderer has been shut down.
22:04:50 T:106004480 M: 82059264    INFO: Previous line repeats 1 times.
22:04:50 T:106004480 M: 82059264  NOTICE: Deleting audio codec
22:04:50 T:106004480 M: 82059264  NOTICE: DVDPlayer: closing video stream
22:04:50 T:106004480 M: 82059264  NOTICE: Closing video stream
22:04:50 T:106004480 M: 82059264  NOTICE: CDVDMessageQueue(video)::WaitUntilEmpty
22:04:50 T:109412352 M: 82059264   DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
22:04:50 T:106004480 M: 82059264  NOTICE: waiting for video thread to exit
22:04:50 T:109412352 M: 82059264   ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
22:04:50 T:109412352 M: 82059264  NOTICE: thread end: video_thread
22:04:50 T:109412352 M: 82059264   DEBUG: Thread CDVDPlayerVideo 109412352 terminating
22:04:50 T:106004480 M: 82063360  NOTICE: deleting video codec
22:04:50 T:106004480 M:107433984  NOTICE: CDVDPlayer::OnExit() deleting demuxer
22:04:50 T:106004480 M:107433984  NOTICE: CDVDPlayer::OnExit() deleting input stream
22:04:50 T:106004480 M:107433984   DEBUG: CAnnouncementManager - Announcement: PlaybackEnded from xbmc
22:04:50 T:106004480 M:111484928   DEBUG: Thread CDVDPlayer 106004480 terminating
22:04:50 T:101601280 M:111484928   DEBUG: CGUIAudioManager::Initialize
22:04:50 T:101601280 M:111484928   DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
22:04:50 T:101601280 M:111484928   DEBUG: ------ Window Deinit (VideoFullScreen.xml) ------
22:04:51 T:101601280 M:111493120   DEBUG: CGUIWindowManager::PreviousWindow: Activate new
22:04:51 T:101601280 M:111493120   DEBUG: ------ Window Init (MyVideoNav.xml) ------
22:04:51 T:101601280 M:111493120    INFO: Loading skin file: MyVideoNav.xml
22:04:51 T:101601280 M:111181824   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.espn3/?url=http%3A%2F%2Fespn.go.com%2Fespn3%2Ffeeds%2Flive&mode=1&name=Live)
22:04:51 T:101601280 M:111181824   DEBUG:   ParentPath = [plugin://plugin.video.espn3/?url=http%3A%2F%2Fespn.go.com%2Fespn3%2Ffeeds%2Flive&mode=1&name=Live]
22:04:51 T:101601280 M:111181824   DEBUG: Loading fileitems [plugin://plugin.video.espn3/?url=http%3A%2F%2Fespn.go.com%2Fespn3%2Ffeeds%2Flive&mode=1&name=Live]
22:04:51 T:101601280 M:111177728   DEBUG:   -- items: 2, directory: plugin://plugin.video.espn3/?url=http%3A%2F%2Fespn.go.com%2Fespn3%2Ffeeds%2Flive&mode=1&name=Live sort method: 0, ascending: false
22:04:52 T:84549632 M:111177728   DEBUG: Thread Background Loader start, auto delete: 0
22:04:52 T:103731200 M:111173632   DEBUG: Thread CJobWorker start, auto delete: 1
22:04:52 T:105439232 M:111165440   DEBUG: Previous line repeats 2 times.
22:04:52 T:105439232 M:111165440   DEBUG: DoWork - Saving file state for video item rtmp://cp88998.live.edgefcs.net/live/ live=1 playlist=1 subscribe=espn3_c05_1800@s20842 playpath=espn3_c05_1800@s20842?auth=da.dhcsb_bMabaUcIasaHdNancCbtd7aza4-boxAmm-O-9zBozKLCr-paner2nctcnUrgtjsco6paqfr8mdr8k8p4oprcmetom4ratss6o8p5rnr9m8snk2pgn7rdm9semeslsatooaphrpsjm3rekep5nbr5m6s6mbr6s6s6odp9&amp;aifp=v0001&amp;slist=espn3_c05_200@s20836;espn3_c05_400@s20839;espn3_c05_800@s20840;espn3_c05_1200@s20841;espn3_c05_1800@s20842&amp;ct5=30-Aug-11&amp;ct6=99.60.140.181&amp;ct7=18599511:FMS_CLOUD&amp;ct8=39&amp;ct1=espn_us&amp;ct3=twc:{71282733-F76E-4F13-B32D-928197A2E59D}&amp;ct4=espn_us
22:04:52 T:84549632 M:102977536   DEBUG: Thread Background Loader 84549632 terminating
22:04:52 T:101601280 M:102977536  NOTICE: CDVDPlayer::CloseFile()
22:04:52 T:101601280 M:102977536 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
22:04:52 T:101601280 M:102977536  NOTICE: DVDPlayer: waiting for threads to exit
22:04:52 T:101601280 M:102993920  NOTICE: DVDPlayer: finished waiting
22:04:52 T:101601280 M:102993920   DEBUG: LinuxRendererGL: Cleaning up GL resources
22:04:52 T:101601280 M:107769856   DEBUG: CGUIAudioManager::Initialize
22:04:52 T:103731200 M:107712512   DEBUG: DoWork - took 313 ms to load special://masterprofile/Thumbnails/Video/a/a90dfe9a.tbn
22:04:52 T:105439232 M:107139072   DEBUG: CAnnouncementManager - Announcement: NewPlayCount from xbmc
22:04:53 T:104263680 M:106860544   DEBUG: DoWork - took 952 ms to load special://skin/backgrounds/videos.jpg

I am using an ATV2, and my connection is 23 Mbits from U-verse.

Any ideas? Thanks!


- rudawgr - 2011-08-31

locomot1f Wrote:It would seem that you need to replace the default.py file in your addon. Do a search on this thread for updated Default.py -- or search Ksosez's threads. I can't remember which thread number it is, but the answer is in here.

Thank you Locomotf i did replace the default.py and it work like a charm


- barnetty - 2011-08-31

Just realized today that ESPN has changed all their content from ESPN3.com to http://www.watchespn.com

Same Dynamic but perhaps someone can check if plugin still works.


- icecuban - 2011-08-31

barnetty Wrote:Just realized today that ESPN has changed all their content from ESPN3.com to http://www.watchespn.com

Same Dynamic but perhaps someone can check if plugin still works.

No, not working. I get "script fail" on all live events, but archived videos still work.


- ksosez - 2011-08-31

icecuban Wrote:No, not working. I get "script fail" on all live events, but archived videos still work.


Hmm seems to work for me still.. the xml is still there. Still a problem?


- WildBill - 2011-08-31

icecuban Wrote:No, not working. I get "script fail" on all live events, but archived videos still work.

Did you change the default.py?


- icecuban - 2011-08-31

3 hours later and it's working just fine.