XBMC Supersport Addon

hey guys... Im here, not to fear!

I have searched high and low for solutions to this problem, but have noticed that this seems to be a common niggle everywhere. I am looking at altering the existing rtmpsuck.c code that will allow me to effectively pipe rtmp streams into it, after which it will return the connection parameters.

I have however managed to come up with a scripted solution which effectively pulls the playpath of the video without decryption etc, making use of the rtmp_read handshake sequence. It isnt pretty by any means, but it's doing the job.

I will revert soon

Nice, I like :)
 
Last edited:
i salute you guys for the project that you are doing. if i had the skills that you guys have i would do the same. FTW
I don't know why Monochoice are trying to block the sport. its not everyone knows about it and does not have a pc or a decent internet connection.
It would be nice if we can watch HULU too.
 
Oh WoW, nice work!

When I try to list live videos, I get the following error in the log:

Code:
20:40:53 T:140081058789120 M:1633685504  NOTICE: -->Python Interpreter Initialized<--
20:40:54 T:140081058789120 M:1632927744  NOTICE: Mode: 1
20:40:54 T:140081058789120 M:1632927744  NOTICE: URL: http://www.supersport.com/live-video
20:40:54 T:140081058789120 M:1632927744  NOTICE: Name: Live Streaming
20:40:54 T:140081058789120 M:1632927744  NOTICE: Page: 1
20:40:54 T:140081058789120 M:1632927744  NOTICE: http://www.supersport.com/live-video
20:40:54 T:140081058789120 M:1633427456  NOTICE: Stream ID: 1186
20:40:54 T:140081058789120 M:1633427456  NOTICE: Stream ID: 1171
20:40:54 T:140081058789120 M:1633427456   ERROR: Error Type: exceptions.TypeError
20:40:54 T:140081058789120 M:1633427456   ERROR: Error Contents: an integer is required
20:40:54 T:140081058789120 M:1633427456   ERROR: Traceback (most recent call last):
                                              File "/home/xbmc/.xbmc/addons/plugin.video.supersport/default.py", line 317, in ?
                                                parseLive(url)
                                              File "/home/xbmc/.xbmc/addons/plugin.video.supersport/default.py", line 36, in parseLive
                                                print "Stream ID: "+str(vidID[0])
                                            TypeError: an integer is required
20:40:54 T:140081671813184 M:1633427456   ERROR: GetDirectory - Error getting plugin://plugin.video.supersport/?url=http%3A%2F%2Fwww.supersport.com%2Flive-video&mode=1&name=Live+Streaming&page=1
20:40:54 T:140081671813184 M:1633427456   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.supersport/?url=http%3A%2F%2Fwww.supersport.com%2Flive-video&mode=1&name=Live+Streaming&page=1) failed
20:40:54 T:140081671813184 M:1633427456 WARNING: GetLabel - Unknown nodetype requested 6
 
Last edited:
Alright, I changed the parseLive(url) add_stream function back to the 0.0.3 add_stream style,

eg. now use again: add_stream(title[0],description[0],streamURL,thumbpath[0],"true") after removing the new way you had in there and that seems to have fixed the live steam listing for me, except now that I figured it out there no more live streams left. However "all videos" now work for me which i couldnt list earlier.

edit:

I changed the "" around the 2x 0s you have, and now it works perfect.

Code:
                        add_stream(
                                title[0],
                                description[0],
                                vidID[3]+":"+vidID[2]+":"+vidID[1],
                                streamURL,
                                thumbpath[0],
                                "true",
                                "0:00",
                                0,
                                0,
                                "Now",
                                "Live Now"
                        )
 
Last edited:
Thanks for all your hardwork, I can see all the videos but cannot play them even with your new release.

As you stated the live stream doesn't work either but that is probably because there isn't one.
 
Those errors seem to be from the differences in the python interpreters that we are using. I will make sure that the next release irons all those out
 
Makes sense.

Code:
root@heaven-htpc:~# cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.04
DISTRIB_CODENAME=natty
DISTRIB_DESCRIPTION="Ubuntu 11.04"
root@heaven-htpc:~# python --version     
Python 2.7.1+

Still a bit pissed off I updated from 10.04 LTS. Should never have done it, now my favourite music analyzer is broke along with flickering on some places in XBMC, and its mostly Intel that broke the newer drivers for my gfx card.
 
Thanks for the hard work. Really appreciate it.

Just wondering, how do we get the live stream section up, and running, because I too get a "Script Failed" error

Thanks once again guys
 
Bounce you the man. its works nicely. has the picture quality degraded or did i get used to watching hd content :D
 
Nice! Really like the addons, hope you can add authentication checking some day. Which is the route most other video streaming plugins went to stay alive.

Must say, its much better how these streams resize to full screen as opposed to the crappy dstv website player. I remember my parents streaming an Afrikaans show while here on holiday (I am using their DSTV ondemand login after all) and it was not proper full screen, testing with XBMC it actually shows up properly.

DSTV only have themselves to blame for not releasing a XBMC plugin themselves. Something I think they should have done, would make the DSTV ondemand so much more useful to have.
 
Well done Bounce. Unfortuantly the DSTV on demand addon, wouldn't work for me becuase I am located outside of SA. Luckily I configured XBMC, to connect through Tor/Vidalia, and it seems to be working quite happily.

Thanks once again.
 
Top
Sign up to the MyBroadband newsletter
X