Kodi Community Forum

Full Version: [RELEASE] ESPN (Video) Plugin - Watch Sports Videos and Highlights
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8
Image

Image


Downloads & Updates are available via XBMC Addons Manager

Post any questions or comments here. Wink
Nice!
Thanks a lot for this. I also really like your G4 plugin, keep 'em coming! Nod
[Update]
-added: You can now browse multiple pages with "Next Page"


Aenima99x Wrote:Nice!
Thanks a lot for this. I also really like your G4 plugin, keep 'em coming! Nod

thx Wink
Thanks man! Great plugin!!
this is excellent, thanks so much
Dude you are awsome!
Thanks buddy
[Update r639]
-fixed video listing problems
it's able to list the videos for me, but when i click on one, nothing happens..

this is the xbmc.log

Quote:23:42:48 T:1368 M:3120226304 NOTICE: -->Python Interpreter Initialized<--
23:42:48 T:1368 M:3120226304 NOTICE:
23:42:48 T:2960 M:3119882240 NOTICE: -->Python Interpreter Initialized<--
23:42:48 T:2960 M:3119882240 NOTICE:
23:42:49 T:1368 M:3119648768 NOTICE: Traceback (most recent call last):
23:42:49 T:1368 M:3119648768 NOTICE: File "C:\Program Files (x86)\XBMC\plugins\video\ESPN Video\default.py", line 298, in ?
23:42:49 T:1368 M:3119648768 NOTICE:
23:42:49 T:1368 M:3119648768 NOTICE: showList(url, name)
23:42:49 T:1368 M:3119648768 NOTICE: File "C:\Program Files (x86)\XBMC\plugins\video\ESPN Video\default.py", line 202, in showList
23:42:49 T:1368 M:3119648768 NOTICE:
23:42:49 T:1368 M:3119648768 NOTICE: url='http://seavideo-ak.espn.go.com/motion/' + flv[0]
23:42:49 T:1368 M:3119648768 NOTICE: IndexError
23:42:49 T:1368 M:3119648768 NOTICE: :
23:42:49 T:1368 M:3119648768 NOTICE: list index out of range
23:42:49 T:1368 M:3119648768 NOTICE:
23:42:49 T:1368 M:3119648768 ERROR: Scriptresult: Error
23:42:49 T:2960 M:3119644672 NOTICE: Traceback (most recent call last):
23:42:49 T:2960 M:3119644672 NOTICE: File "C:\Program Files (x86)\XBMC\plugins\video\ESPN Video\default.py", line 298, in ?
23:42:49 T:2960 M:3119644672 NOTICE:
23:42:49 T:2960 M:3119644672 NOTICE: showList(url, name)
23:42:49 T:2960 M:3119644672 NOTICE: File "C:\Program Files (x86)\XBMC\plugins\video\ESPN Video\default.py", line 202, in showList
23:42:49 T:2960 M:3119644672 NOTICE:
23:42:49 T:2960 M:3119644672 NOTICE: url='http://seavideo-ak.espn.go.com/motion/' + flv[0]
23:42:49 T:2960 M:3119644672 NOTICE: IndexError
23:42:49 T:2960 M:3119644672 NOTICE: :
23:42:49 T:2960 M:3119644672 NOTICE: list index out of range
23:42:49 T:2960 M:3119644672 NOTICE:
23:42:49 T:2960 M:3119644672 ERROR: Scriptresult: Error
23:42:49 T:2960 M:3121451008 ERROR: CThread:ConfusedtaticThread : Access violation at 0x032fa212: Writing location 0x00000000

thanks
chauzer, thanks for letting me know. Big Grin


[Update]
-fix: videos are now playing
-added: "Check for Updates" feature
Thanks for the cool plugin, stacked! Nice work! Every week, I use Orbit Downloader to grab the latest episode of MMA Live. This is so much better!

One thing I've noticed though is that the MMA clips default to the 4:3 stream instead of the 16:9 version that you can see on the ESPN site. I noticed that in the xbmc.log, it gets a clip called "DM_090326_MMA_LiveEP46.flv" but when I use Orbit Downloader to grab the 16:9 clip, it's called "DM_090326_MMA_LiveEP46_576x432.flv". What's kind of odd is that the 16:9 clip is actually 576x324, not 576x432.

Also, the clips keep freezing during streaming:

Quote:11:40:13 M: 39796736 WARNING: CUtil::GetMatchingSource... no matching source found for [Video plugins]
11:40:18 M: 32202752 NOTICE: -->Python Initialized<--
11:40:18 M: 32202752 NOTICE:
11:40:20 M: 30052352 NOTICE:
11:40:20 M: 30052352 NOTICE:
11:40:21 M: 33955840 NOTICE: -->Python Initialized<--
11:40:21 M: 33955840 NOTICE:
11:40:24 M: 28717056 NOTICE:
11:40:24 M: 28717056 NOTICE:
11:40:33 M: 33976320 NOTICE: -->Python Initialized<--
11:40:33 M: 33976320 NOTICE:
11:40:35 M: 29097984 NOTICE:
11:40:35 M: 30146560 NOTICE:
11:40:37 M: 33865728 NOTICE: -->Python Initialized<--
11:40:37 M: 33865728 NOTICE:
11:40:39 M: 30961664 NOTICE: http://sports.espn.go.com/broadband/mpf/...id=4017867
11:40:39 M: 30961664 NOTICE:
11:40:39 M: 30953472 NOTICE: ['DM_090326_MMA_LiveEP46.flv']
11:40:39 M: 30932992 NOTICE:
11:40:40 M: 30896128 NOTICE: DVDPlayer: Opening: http://seavideo-ak.espn.go.com/motion/DM...veEP46.flv
11:40:40 M: 30896128 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
11:40:40 M: 30371840 NOTICE: Creating InputStream
11:40:40 M: 29257728 NOTICE: Creating Demuxer
11:40:40 M: 22122496 NOTICE: Opening video stream: 0 source: 256
11:40:40 M: 22102016 NOTICE: Creating video codec with codec id: 0
11:40:40 M: 22102016 ERROR: Unsupported video codec
11:40:40 M: 22102016 WARNING: CDVDPlayer::OpenVideoStream - Unsupported stream 0. Stream disabled.
11:40:40 M: 22102016 NOTICE: Opening audio stream: 1 source: 256
11:40:40 M: 22102016 NOTICE: Finding audio codec for: 0
11:40:40 M: 22102016 ERROR: Unsupported audio codec
11:40:40 M: 22102016 WARNING: CDVDPlayer::OpenAudioStream - Unsupported stream 1. Stream disabled.
11:40:40 M: 22102016 NOTICE: Opening audio stream: 1 source: 256
11:40:40 M: 22102016 NOTICE: Finding audio codec for: 86017
11:40:40 M: 21757952 NOTICE: Creating audio thread
11:40:40 M: 21184512 NOTICE: Opening video stream: 0 source: 256
11:40:40 M: 21184512 NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()
11:40:40 M: 21184512 NOTICE: Creating video codec with codec id: 95
11:40:40 M: 21180416 NOTICE: Creating video thread
11:40:40 M: 20635648 NOTICE: Creating audio device with codec id: 86017, channels: 1, sample rate: 44100, no pass-through
11:40:40 M: 20578304 NOTICE: running thread: video_thread
11:40:40 M: 20287488 NOTICE: fps: 25.000000, pwidth: 440, pheight: 330, dwidth: 440, dheight: 330
11:40:40 M: 20205568 NOTICE: Display resolution USER : 720p 16:9 (1)
11:40:40 M: 19050496 ERROR: DIRECTORY::CPluginDirectory::EndOfDirectory - called with an invalid handle.
11:40:40 M: 20041728 NOTICE:
11:40:40 M: 19976192 NOTICE:
11:43:11 M: 25653248 WARNING: CDVDMessageQueue(audio)::Get - retrieved last data packet of queue
11:43:11 M: 25669632 WARNING: CDVDMessageQueue(video)::Get - retrieved last data packet of queue
11:43:32 M: 25550848 NOTICE: CDVDPlayer::OnExit()
11:43:32 M: 25550848 NOTICE: DVDPlayer: eof, waiting for queues to empty
11:43:32 M: 25550848 NOTICE: DVDPlayer: closing audio stream
11:43:32 M: 25550848 NOTICE: Closing audio stream
11:43:32 M: 25550848 NOTICE: CDVDMessageQueue(audio)::WaitUntilEmpty
11:43:32 M: 25550848 NOTICE: thread end: CDVDPlayerAudio::OnExit()
11:43:32 M: 26075136 NOTICE: Waiting for audio thread to exit
11:43:32 M: 26075136 NOTICE: Closing audio device
11:43:32 M: 26103808 NOTICE: Deleting audio codec
11:43:32 M: 26267648 NOTICE: DVDPlayer: closing video stream
11:43:32 M: 26267648 NOTICE: Closing video stream
11:43:32 M: 26267648 NOTICE: CDVDMessageQueue(video)::WaitUntilEmpty
11:43:32 M: 26267648 NOTICE: waiting for video thread to exit
11:43:32 M: 26267648 ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
11:43:32 M: 26267648 NOTICE: thread end: video_thread
11:43:32 M: 26791936 NOTICE: deleting video codec
11:43:32 M: 27504640 NOTICE: CDVDPlayer::OnExit() deleting demuxer
11:43:32 M: 27541504 NOTICE: CDVDPlayer::OnExit() deleting input stream
11:43:33 M: 27058176 NOTICE: CDVDPlayer::CloseFile()
11:43:33 M: 27058176 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
11:43:33 M: 27058176 NOTICE: DVDPlayer: waiting for threads to exit
11:43:33 M: 27058176 NOTICE: DVDPlayer: finished waiting
11:43:33 M: 27058176 NOTICE: CDVDPlayerVideo::~CDVDPlayerVideo - uninitting video device
[Update r870]
-Highest quality video available will be played

KevinSartori Wrote:Also, the clips keep freezing during streaming:
Thats a problem with XBMC. Try using the mplayer (turn off dvd player in the plugin settings menu).
Wow, thanks for the quick update, stacked! All the clips are widescreen now and switching to mplayer stopped the freezing! Nice work, thanks!
Whoops, looks like I spoke too soon. Mplayer lasts longer than the DVD Player and some short clips play all the way, but it's still freezing and then quitting on larger clips:

Quote:14:40:04 M: 39804928 WARNING: CUtil::GetMatchingSource... no matching source found for [Video plugins]
14:40:16 M: 32219136 NOTICE: -->Python Initialized<--
14:40:16 M: 32198656 NOTICE:
14:40:18 M: 30031872 NOTICE:
14:40:18 M: 30031872 NOTICE:
14:40:20 M: 33968128 NOTICE: -->Python Initialized<--
14:40:20 M: 33968128 NOTICE:
14:40:22 M: 30015488 NOTICE:
14:40:22 M: 29995008 NOTICE:
14:40:27 M: 33759232 NOTICE: -->Python Initialized<--
14:40:27 M: 33759232 NOTICE:
14:40:29 M: 28966912 NOTICE:
14:40:29 M: 28966912 NOTICE:
14:40:33 M: 33738752 NOTICE: -->Python Initialized<--
14:40:33 M: 33738752 NOTICE:
14:40:37 M: 30556160 NOTICE: CMPlayer::CloseFile()
14:40:37 M: 28987392 NOTICE: CMPlayer::CloseFile()
14:40:39 M: 17993728 NOTICE: Display resolution USER : 720p 16:9 (1)
14:40:39 M: 23531520 ERROR: DIRECTORY::CPluginDirectory::EndOfDirectory - called with an invalid handle.
14:40:39 M: 18472960 NOTICE:
14:40:39 M: 18472960 NOTICE:
14:41:49 M: 23261184 NOTICE: CMPlayer::CloseFile()
14:41:49 M: 30351360 NOTICE: CMPlayer::CloseFile()
14:41:49 M: 30351360 NOTICE: CMPlayer::CloseFile()

My first thought was that maybe I need to download the clips first and then watch them. I enabled the Download and Play Video option in the Plugin Settings, but I get a pop-up box error:

Scripts
Error
Python script failed:
special://home/plugins/video/ESPN Video/default.py

Quote:14:48:30 M: 39800832 WARNING: CUtil::GetMatchingSource... no matching source found for [Video plugins]
14:48:42 M: 32219136 NOTICE: -->Python Initialized<--
14:48:42 M: 32198656 NOTICE:
14:48:44 M: 30044160 NOTICE:
14:48:44 M: 30044160 NOTICE:
14:48:45 M: 33972224 NOTICE: -->Python Initialized<--
14:48:45 M: 33972224 NOTICE:
14:48:47 M: 28594176 NOTICE:
14:48:47 M: 28594176 NOTICE:
14:48:50 M: 33742848 NOTICE: -->Python Initialized<--
14:48:50 M: 33742848 NOTICE:
14:48:52 M: 28966912 NOTICE:
14:48:52 M: 29491200 NOTICE:
14:48:55 M: 33730560 NOTICE: -->Python Initialized<--
14:48:55 M: 33730560 NOTICE:
14:48:58 M: 29573120 NOTICE: Traceback (most recent call last):
14:48:58 M: 29573120 NOTICE: File "Q:\plugins\video\ESPN Video\default.py", line 340, in ?
14:48:58 M: 29564928 NOTICE:
14:48:58 M: 29564928 NOTICE: showList(url, name)
14:48:58 M: 29564928 NOTICE: File "Q:\plugins\video\ESPN Video\default.py", line 205, in showList
14:48:58 M: 29564928 NOTICE:
14:48:58 M: 29564928 NOTICE: playVideo(url, name)
14:48:58 M: 29564928 NOTICE: File "Q:\plugins\video\ESPN Video\default.py", line 272, in playVideo
14:48:58 M: 29564928 NOTICE:
14:48:58 M: 29564928 NOTICE: Download(url,flv_file)
14:48:58 M: 29564928 NOTICE: File "Q:\plugins\video\ESPN Video\default.py", line 258, in Download
14:48:58 M: 29564928 NOTICE:
14:48:58 M: 29564928 NOTICE: urllib.urlretrieve(url,dest,lambda nb, bs, fs, url=url: _pbhook(nb,bs,fs,url,dp))
14:48:58 M: 29564928 NOTICE: File "Q:\system\python\python24.zlib\urllib.py", line 84, in urlretrieve
14:48:58 M: 29564928 NOTICE: File "Q:\system\python\python24.zlib\urllib.py", line 215, in retrieve
14:48:58 M: 29564928 NOTICE: IOError
14:48:58 M: 29564928 NOTICE: :
14:48:58 M: 29564928 NOTICE: [Errno 2] No such file or directory: 'E:\\dm_090325_mma_wec_torres_feature2_576x432.flv'
14:48:58 M: 29564928 NOTICE:
14:48:58 M: 29564928 ERROR: Scriptresult: Error
Change the download location to one of your video sources. For example, create a directory on the xbox called "Downloads" then change the download location on the plugin to "Downloads".
Pages: 1 2 3 4 5 6 7 8