Release SBS On Demand (Australia)
#1
Image

http://www.sbs.com.au/ondemand/

This plugin is basically a complete re-write of bogs sbs2 plugin which broke after recent changes to SBS's website.
As a direct source for the video's was not easily found (and the built in player never really handled skip with the flv's previously),
I'm handing playback over to a web browser.

Video playback in a browser does limit the platform support.

Currently I have only added support for Chrome, running on Mac OSX and Linux (x86).
Windows is likely to work, but untested.
Chrome support is limited by the availability of the chromedriver utility.
This means that Android, raspberry pi etc is not currently supported at all.

My webdriver module is written with the intention to add support for more browsers however.
Basically anything that's supported by both selenium (http://www.seleniumhq.org/about/platforms.jsp) and sbs on demand should work with (hopefully) minimal effort.

As this requires external binaries, it's not eligible to be added to the officual kodi repositorey.

To install
Add my repo from the zip below, then find SBS On Demand in the Video's category.
http://www.alelec.net/kodi/repository.alelec.zip

In Kodi Settings -> Services -> Remote Control
Ensure "Allow remote control by programs on this system" is enabled.

You will need Chrome installed on your computer, if it's installed in the default way the plugin should find it automatically.
Otherwise, you can provide a path to the chrome binary in the plugin settings (minimally tested).


Developers; fork / improve / pull request to your hearts content! I'm very open to others adding more features & support :-D
Webdriver is also intended to be a multipurpose plugin for use in any streaming service, feel free to use it to provide support to your next module!

https://github.com/andrewleech/plugin.video.sbsondemand
https://github.com/andrewleech/script.module.webdriver

Cheers,
Andrew
alelec kodi repo, hosting my binary addons not eligible for the official repo .
netflix, sbs ondemand, webdriver etc.

http://kodi.alelec.net/
Reply
#2
FAQ

1. Does this work on Android / Raspberry Pi /etc.
Currently, no it does not.
Feel free to add support for a suitable browser to the webdriver addon.

1. Does this work on OpenELEC, Kodibuntu etc.?
Single use distros typically don't have a window manager running, which is required to switch applications.
While I do intend to add support for window managers into the wbdriver module, I don't need this feature myself so it'll likely take a while.
In the mean time you can either add a window manager to the startup of your system, or use a custom launcher script to start your window manager of choice, run chrome, then kill the manager afterwards. This script would go in the custom path setting of the addon.
Here's a starting point: http://forum.kodi.tv/showthread.php?tid=...pid1593708
alelec kodi repo, hosting my binary addons not eligible for the official repo .
netflix, sbs ondemand, webdriver etc.

http://kodi.alelec.net/
Reply
#3
I can't wait for the android support. Would love to watch sbs on my media centre. Thanks
Reply
#4
(2015-09-12, 14:53)leo_mancini Wrote: I can't wait for the android support. Would love to watch sbs on my media centre. Thanks

Sorry Android is not something I'll be working on myself, as I don't have any android media centres running.
It'll require a completely different playback mechanism due to the fact that selenium control over a browser is not available on android - on android selenium is run from a desktop to control the browser on the android device.

It is possible to launch a another app from kodi like a browser pointing at the right website, this is similar to the way android support was added to the netflix app: https://github.com/andrewleech/plugin.vi...mc/pull/59
perhaps it's possible to bring up the sbs on demand app and have it playback the right video automatically, after which I guess the back button will take you back to kodi.
I've got a lot of other issues/projects on my backlog before I could think of looking into it more closely.
alelec kodi repo, hosting my binary addons not eligible for the official repo .
netflix, sbs ondemand, webdriver etc.

http://kodi.alelec.net/
Reply
#5
Can't seem to install. It says dependencies not met. I have chrome so that's not the issue.
Reply
#6
(2015-11-09, 06:35)tree_and_kite Wrote: Can't seem to install. It says dependencies not met. I have chrome so that's not the issue.

What version of Kodi are you running, and what is your platform (windows, linux, mac, etc) ?
alelec kodi repo, hosting my binary addons not eligible for the official repo .
netflix, sbs ondemand, webdriver etc.

http://kodi.alelec.net/
Reply
#7
Oops, sorry. I'm on Kodi 15.2 and windows 7
Reply
#8
I'm not located in Australia, but tried to install the addon for testing purposes. I got the same "dependencies not met" error. I'm guessing it is due to the script.module.webdriver requirement listed in the addon.xml.

I know that if a required module is available from the official repo, Kodi downloads it automatically. It looks to me like this does not happen when the module is hosted on an external repo (even if it is hosted on the same repo as the addon you are trying to install). Do you if this understanding is accurate? I also tried to download the webdriver module via the "install from repo" option in Kodi, but it didn't show up.
Reply
#9
(2016-01-05, 12:03)eirki Wrote: I'm not located in Australia, but tried to install the addon for testing purposes. I got the same "dependencies not met" error. I'm guessing it is due to the script.module.webdriver requirement listed in the addon.xml.

I know that if a required module is available from the official repo, Kodi downloads it automatically. It looks to me like this does not happen when the module is hosted on an external repo (even if it is hosted on the same repo as the addon you are trying to install). Do you if this understanding is accurate? I also tried to download the webdriver module via the "install from repo" option in Kodi, but it didn't show up.

I didn't bother checking on plugin version specific dependencies but just install dependencies by name. Just do something like below.
I manually download the .zip plugins from the kodi box, install google-chrome (lazy flash player install) and its package dependencies:

* On Ubuntu/Debian of some type *
1. wget https://github.com/andrewleech/plugin.vi...demand.zip
2. wget https://github.com/andrewleech/script.mo...master.zip
3. wget https://dl.google.com/linux/direct/googl..._amd64.deb
4. sudo dpkg -i google-chrome-stable_current_amd64.deb
5. sudo apt-get -f install
6. Within Kodi itself, install the sbsondemand and webdriver plugins from zip (go find where you downloaded them using wget in steps 1 and 2)
Reply
#10
If you have the need to download video from SBS on Demand, you may try Allavsoft which can download videos from SBS on demand to MP4, AVI, MOV, WMV, MKV to play anywhere.

I find this great product from this useful article http://www.allavsoft.com/how-to/sbs-on-d...nload.html

After give it a try, I find it also helps to download video from Tenplay, ABC iView etc
Reply
#11
I'm using windows, kodi8, and I'm ready to use python+ selenium + chrome,Get the pages that need to be rendered and get what you want.
However, Kodi doesn't support selenium, and I can't add it manually. Try using the script. module. webdriver you provide, and it won't work either.

Some websites have to use selenium to get their content, so I don't know how KODI uses selenium.
Reply
#12
I downloaded your S, but it can't be referenced to KODI.
Windows7 64,kodi 18
Reply
#13
Actually, I want to use script.module.webdriver because I have developed my own plug-in and need to rely on selenium.
Reply

Logout Mark Read Team Forum Stats Members Help
SBS On Demand (Australia)0