[RELEASE] ESPN (Video) Plugin - Watch Sports Videos and Highlights

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
stacked Offline
Skilled Python Coder
Posts: 802
Joined: Jun 2007
Reputation: 18
Thumbs Up  [RELEASE] ESPN Video Addon - Watch Sports Videos and Highlights
Post: #1
[Image: cXv63.png]

[Image: tug4V.png]


Downloads & Updates are available via XBMC Addons Manager

Post any questions or comments here. Wink
(This post was last modified: 2012-02-14 19:57 by stacked.)
find quote
Aenima99x Offline
Donor
Posts: 1,128
Joined: Aug 2007
Reputation: 8
Location: California
Thumbs Up   
Post: #2
Nice!
Thanks a lot for this. I also really like your G4 plugin, keep 'em coming! Nod
find quote
stacked Offline
Skilled Python Coder
Posts: 802
Joined: Jun 2007
Reputation: 18
Post: #3
[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
find quote
akaussie Offline
Junior Member
Posts: 12
Joined: Nov 2007
Reputation: 0
Post: #4
Thanks man! Great plugin!!
find quote
afail Offline
Senior Member
Posts: 121
Joined: Feb 2007
Reputation: 0
Post: #5
this is excellent, thanks so much
find quote
nate12o6 Offline
Senior Member
Posts: 137
Joined: Dec 2006
Reputation: 0
Post: #6
Dude you are awsome!
find quote
damnyou Offline
Junior Member
Posts: 6
Joined: Dec 2008
Reputation: 0
Post: #7
Thanks buddy
find quote
stacked Offline
Skilled Python Coder
Posts: 802
Joined: Jun 2007
Reputation: 18
Post: #8
[Update r639]
-fixed video listing problems
find quote
chauzer Offline
Junior Member
Posts: 8
Joined: Mar 2009
Reputation: 0
Post: #9
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::staticThread : Access violation at 0x032fa212: Writing location 0x00000000

thanks
find quote
stacked Offline
Skilled Python Coder
Posts: 802
Joined: Jun 2007
Reputation: 18
Post: #10
chauzer, thanks for letting me know. Big Grin


[Update]
-fix: videos are now playing
-added: "Check for Updates" feature
find quote
KevinSartori Offline
Donor
Posts: 322
Joined: Dec 2003
Reputation: 2
Location: Connecticut, USA
Post: #11
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)::Put 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::Process()
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)::Put 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
find quote
stacked Offline
Skilled Python Coder
Posts: 802
Joined: Jun 2007
Reputation: 18
Post: #12
[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).
find quote
KevinSartori Offline
Donor
Posts: 322
Joined: Dec 2003
Reputation: 2
Location: Connecticut, USA
Post: #13
Wow, thanks for the quick update, stacked! All the clips are widescreen now and switching to mplayer stopped the freezing! Nice work, thanks!
find quote
KevinSartori Offline
Donor
Posts: 322
Joined: Dec 2003
Reputation: 2
Location: Connecticut, USA
Post: #14
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
find quote
stacked Offline
Skilled Python Coder
Posts: 802
Joined: Jun 2007
Reputation: 18
Post: #15
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".
(This post was last modified: 2009-03-29 22:05 by stacked.)
find quote
Post Reply