XBMC Supersport Addon

Interesting, will give it a go this evening. Bounce, I have another suggestion. Do you think you could write a Drifta add-on for XBMC? I'd love to be able to watch the Drifta channels through XBMC.

That would be super cool :D
 
bbc uk tv does ahve quite good quality stuff, sd and hd. i am mostly looking at good quality streams i can add to the xbmc. i watched the womens wc final on espn3 in hd. damn it looks awsome. you kinda get used to the quality. when i switch to supersport stream it sucks big time watching gibberish which hurts my eyes.

anybody that have hd add-ons for xbmc can pm me or just post it here.
 
What HD addons for xbmc do you have atm Stevie?

Iplayer (british content) plays nice hd and sd content
Icefilms has a variety, but its on and off
Freecable plays variety of tv network channels
ESPN3 plays good quality sport
Livestream plays bbc news

The others is not that good, but i'm still adding. google them and you will find the plugin
 
it will show you where the log file is
you must enable debugging under the system settings in xbmc.

This is what I have...

22:47:10 T:6404 M:2710933504 NOTICE: Metadata:
22:47:10 T:6404 M:2710933504 NOTICE: duration 6139.09
22:47:10 T:6404 M:2710933504 NOTICE: width 640.00
22:47:10 T:6404 M:2710933504 NOTICE: height 360.00
22:47:10 T:6404 M:2710933504 NOTICE: videodatarate 500.00
22:47:10 T:6404 M:2710933504 NOTICE: audiodatarate 125.00
22:47:10 T:6404 M:2710933504 NOTICE: framerate 25.00
22:47:10 T:6404 M:2710933504 NOTICE: creationdate Thu May 12 15:36:22 2011
22:47:10 T:6404 M:2710933504 NOTICE: lasttimestamp 6139.06
22:47:10 T:6404 M:2710933504 NOTICE: lastkeyframetimestamp 6137.80
22:47:10 T:6404 M:2710933504 NOTICE: videocodecid 4.00
22:47:10 T:6404 M:2710933504 NOTICE: audiocodecid 2.00
22:47:10 T:6404 M:2710933504 NOTICE: audiodelay 0.00
22:47:10 T:6404 M:2710933504 NOTICE: canSeekToEnd FALSE
22:47:10 T:6404 M:2710933504 NOTICE: filesize 483557413.00
22:47:10 T:6404 M:2710933504 NOTICE: videosize 380957476.00
22:47:10 T:6404 M:2710933504 NOTICE: audiosize 101045566.00
22:47:10 T:6404 M:2710933504 NOTICE: datasize 388486.00
22:47:10 T:6404 M:2710933504 INFO: RTMP_ClientPacket, unknown packet type received: 0x29
22:47:10 T:6404 M:2710933504 INFO: ignoring too small video packet: size: 2
22:47:10 T:6404 M:2710933504 INFO: RTMP_ClientPacket, unknown packet type received: 0x29
22:47:10 T:6404 M:2710933504 INFO: RTMP_ClientPacket, unknown packet type received: 0x28
22:47:10 T:6404 M:2710831104 DEBUG: CDVDDemuxFFmpeg::Open - probing detected format [flv]
22:47:10 T:6404 M:2710822912 DEBUG: CDVDDemuxFFmpeg::Open - av_find_stream_info starting
22:47:28 T:7048 M:2710425600 DEBUG: Thread 7048 terminating (autodelete)
22:47:41 T:6404 M:2711019520 INFO: ffmpeg[1904]: [flv] Unsupported video codec (1)
22:47:41 T:6404 M:2711400448 WARNING: could not find codec parameters for rtmpe://vod.dstv.com/vod/media app=vod/media swfUrl=http://core.dstv.com/video/flash/dstv_drmvideoplayer.swf?v=1-15 pageURL=http://ondemand.dstv.com/Feeds/VideoFeed/CatchUp.aspx?vid=3297 playpath=Longformat/movies/E-3350-MM_clashofthetitans_16x9_500K live=false swfVfy=true
22:47:41 T:6404 M:2711277568 ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
22:47:41 T:6404 M:2711281664 NOTICE: CDVDPlayer::OnExit()
22:47:41 T:6404 M:2711326720 NOTICE: CDVDPlayer::OnExit() deleting input stream
22:47:41 T:6404 M:2711339008 INFO: Invoking deleteStream
22:47:41 T:6404 M:2712080384 DEBUG: Thread 6404 terminating
22:47:41 T:8304 M:2712236032 DEBUG: CAnnouncementManager - Announcement: PlaybackStopped from xbmc
22:47:41 T:8304 M:2712223744 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.dstvondemand/?url=3297&mode=6&name=Clash+of+the+Titans]
22:47:41 T:8304 M:2712223744 DEBUG: Playlist Player: one or more items failed to play... aborting playback
22:47:41 T:8304 M:2712223744 INFO: Loading skin file: DialogOK.xml
22:47:41 T:8304 M:2712219648 DEBUG: ------ Window Init (DialogOK.xml) ------
22:47:41 T:8304 M:2712215552 NOTICE: CDVDPlayer::CloseFile()
22:47:41 T:8304 M:2712215552 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
22:47:41 T:8304 M:2712215552 NOTICE: DVDPlayer: waiting for threads to exit
22:47:41 T:8304 M:2712215552 NOTICE: DVDPlayer: finished waiting
22:47:41 T:8304 M:2713432064 DEBUG: python thread 4 destructed
22:47:41 T:8304 M:2713432064 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib.dll)
22:47:41 T:8304 M:2713432064 DEBUG: Win32DllLoader::Unload ImageLib.dll
22:47:41 T:8304 M:2713796608 INFO: XCURL::DllLibCurlGlobal::CheckIdle - Closing session to http://ondemand.dstv.com (easy=02F48058, multi=02F875E8)
 
Hi All

A new release is available here: http://xbmc-supersport-tv.googlecode.com/files/plugin.video.supersport.0.2.0.zip

Updates:
A lot of code re-working moving the plugin from the 'google, paste, debug, repeat' formation stages, to now follow best practice structures that will allow easier enhancements in the future.
I have removed all external python library dependencies, and the code will now work with the native python extensions out of the box.
I have managed to quite elegantly capture all the data made visible in the supersport.com webservices directly into the code, which ultimately means that the data displayed for each item in XBMC is a lot more comprehensive and useful.
Finally, is you are using the most recent builds with support for service extensions, then you will have already noticed the monitor informing you of starting/finishing streams. I have added functionality that will now allow you to add an autotune option to upcoming events which, as long as the monitor is running, will switch to the stream as soon as it becomes available.

Future Enhancements:

PVR: I somehow managed to lose all the work done on this a few days ago, but that just allows me to do it re-implement with greater efficiency. As mentioned, this will make use of subprocesses and a local version of rtmpdump to record live streams, schedule recordings for upcoming streams, and download highlight videos. As also mentioned, a stream can be watched and recorded simultaneously and the number of streams that can be recorded is limited only by your bandwidth and processing grunt.

Feedback is always appreciated
 
Last edited:
thanks Bounce.

I installed on the 19th, so I will update tonight, flawless install, worked first time.

I havent had much time to play with it, but I have a few questions:

1. Does this only played cached / DOD content on Supersport / DSTV ? I.E: Would I be able to watch live sport with this plugin?
2. Is there some kind of PVR functionality to download / pvr the content that is being streamed? (Edit: I see you are adding this in your updates)
3. Are there any plugins / codecs that could improve image quality? (I have a 4meg line if that helps).

Thanks again for your work, and excuse the noobie questions, I was intrigued at what you have done here.
 
Last edited:
Hi,
First of all... awsome addon! well done :D


I installed supersport.0.2.0 just now, and getting the following error when running it.
Code:
15:04:31 T:4428 M:4294967295   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.supersport/)
15:04:31 T:4428 M:4294967295   DEBUG:   ParentPath = [addons://sources/video/]
15:04:31 T:4228 M:4294967295   DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin Supersport('plugin://plugin.video.supersport/','0','')
15:04:31 T:4228 M:4294967295    INFO: initializing python engine.
15:04:31 T:4228 M:4294967295   DEBUG: Win32DllLoader::Load(special://xbmcbin/system/python/python24.dll)
15:04:31 T:4228 M:4294967295   DEBUG:   msg: 'import site' failed; use -v for traceback
15:04:31 T:4228 M:4294967295   DEBUG: new python thread created. id=9
15:04:31 T:4228 M:4294967295   DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the Supersport plugin...
15:04:31 T:1880 M:4294967295   DEBUG: thread start, auto delete: 0
15:04:31 T:1880 M:4294967295   DEBUG: Python thread: start processing
15:04:31 T:1880 M:4294967295   DEBUG:   msg: 'import site' failed; use -v for traceback
15:04:31 T:1880 M:4294967295  NOTICE: -->Python Interpreter Initialized<--
15:04:31 T:1880 M:4294967295   DEBUG: XBPyThread::Process - The source file to load is C:\Users\htpc_usr\AppData\Roaming\XBMC\addons\plugin.video.supersport\default.py
15:04:31 T:1880 M:4294967295   DEBUG: XBPyThread::Process - Setting the Python path to C:\Users\htpc_usr\AppData\Roaming\XBMC\addons\plugin.video.supersport;C:\Users\htpc_usr\AppData\Roaming\XBMC\addons\script.module.beautifulsoup\lib;C:\Program Files (x86)\XBMC\addons\script.module.pil\lib;C:\Program Files (x86)\XBMC\addons\script.module.pysqlite\lib;special://xbmc/system/python/DLLs;special://xbmc/system/python/Lib;special://xbmcbin/system/python/python24.zip;special://xbmc/system/python\DLLs;special://xbmc/system/python\lib;special://xbmc/system/python\lib\plat-win;special://xbmc/system/python\lib\lib-tk;C:\Program Files (x86)\XBMC
15:04:31 T:1880 M:4294967295   DEBUG: XBPyThread::Process - Entering source directory C:\Users\htpc_usr\AppData\Roaming\XBMC\addons\plugin.video.supersport
15:04:31 T:1880 M:4294967295   DEBUG: LoadLibraryExA called with flags: 
                                             - LOAD_WITH_ALTERED_SEARCH_PATH
15:04:31 T:1880 M:4294967295   DEBUG: Win32DllLoader::Load(special://xbmc/system/python/DLLs\_socket.pyd)
15:04:31 T:1880 M:4294967295   DEBUG: LoadLibraryExA called with flags: 
                                             - LOAD_WITH_ALTERED_SEARCH_PATH
15:04:31 T:1880 M:4294967295   DEBUG: Win32DllLoader::Load(special://xbmc/system/python/DLLs\_ssl.pyd)
15:04:31 T:1880 M:4294967295   DEBUG: Win32DllLoader::Load(MSVCR71.dll)
15:04:31 T:1880 M:4294967295 WARNING: msvcrt.dll: dll_fstati64 called, TODO: add 'int64 <-> long' type checking
15:04:32 T:4428 M:4294967295 WARNING: Previous line repeats 8 times.
15:04:32 T:4428 M:4294967295   DEBUG: ------ Window Init (DialogBusy.xml) ------
15:04:32 T:4428 M:4294967295    INFO: Loading skin file: DialogBusy.xml
15:04:33 T:4228 M:4294967295    INFO: Loading skin file: DialogProgress.xml
15:04:33 T:4228 M:4294967295   DEBUG: ------ Window Init (DialogProgress.xml) ------
15:04:33 T:4428 M:4294967295   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
15:04:37 T:2348 M:4294967295   DEBUG: CImageLoader::DoWork - took 106 ms to load special://masterprofile/Thumbnails/e/e6122794.jpg
15:04:38 T:1880 M:4294967295    INFO: -->Python script returned the following error<--
15:04:38 T:1880 M:4294967295   ERROR: Error Type: exceptions.ValueError
15:04:38 T:1880 M:4294967295   ERROR: Error Contents: list.remove(x): x not in list
15:04:38 T:1880 M:4294967295   ERROR: Traceback (most recent call last):
                                              File "C:\Users\htpc_usr\AppData\Roaming\XBMC\addons\plugin.video.supersport\default.py", line 6, in ?
                                                SupersportNavigation.addDirectoryRoot()
                                              File "C:\Users\htpc_usr\AppData\Roaming\XBMC\addons\plugin.video.supersport\SupersportNavigation.py", line 40, in addDirectoryRoot
                                                menu = SupersportCore.getHighlightsMenu()
                                              File "C:\Users\htpc_usr\AppData\Roaming\XBMC\addons\plugin.video.supersport\SupersportCore.py", line 142, in getHighlightsMenu
                                                out.remove({'title':"General"})
                                            ValueError: list.remove(x): x not in list
15:04:38 T:1880 M:4294967295    INFO: -->End of Python script error report<--
 
Mine is broken again. ver 0.2.0:

Code:
19:12:33 T:3018816368 M:1687195648  NOTICE: -->Python Interpreter Initialized<--
19:12:37 T:3018816368 M:1685397504   ERROR: Error Type: exceptions.ValueError
19:12:37 T:3018816368 M:1685397504   ERROR: Error Contents: list.remove(x): x not in list
19:12:37 T:3018816368 M:1685397504   ERROR: Traceback (most recent call last):
                                              File "/home/media/.xbmc/addons/plugin.video.supersport/default.py", line 6, in ?
                                                SupersportNavigation.addDirectoryRoot()
                                              File "/home/media/.xbmc/addons/plugin.video.supersport/SupersportNavigation.py", line 40, in addDirectoryRoot
                                                menu = SupersportCore.getHighlightsMenu()
                                              File "/home/media/.xbmc/addons/plugin.video.supersport/SupersportCore.py", line 141, in getHighlightsMenu
                                                out.remove({'title':"General"})
                                            ValueError: list.remove(x): x not in list
19:12:37 T:3078145920 M:1685651456   ERROR: GetDirectory - Error getting plugin://plugin.video.supersport/
19:12:37 T:3078145920 M:1685651456   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.supersport/) failed
19:12:37 T:3078145920 M:1685651456 WARNING: GetLabel - Unknown nodetype requested 0
19:12:37 T:2990824304 M:1684635648 WARNING: Create - Unsupported protocol(script) in script://
 
Top
Sign up to the MyBroadband newsletter
X