FAQ  •  Register  •  Login

SBS On Demand (Australia only)

<<

ttguy

Serviio lover

Posts: 60

Joined: Sun May 27, 2012 10:52 am

Post Sun Sep 23, 2012 1:49 pm

SBS On Demand (Australia only)

----

I present a WebResource extractor plugin for SBS on Demand (Australia only) http://www.sbs.com.au/ondemand/

* According to http://whirlpool.net.au/wiki/sbs_downloader the following feeds should be valid for this plug in.
* Events have lots of cycling bits. Clips are short bits of news stories and other short "clips".
* Programs are full episodes.
  Code:
*          URL                                                                  desc                        tested
* http://feed.theplatform.com/f/dYtmxB/featured-programs-prod/?form=json   contains featured programs         Y  about 19 items
* http://feed.theplatform.com/f/dYtmxB/section-programs/?form=json         contains all programs videos       Y maxes out at 100 items - but see note below
* http://feed.theplatform.com/f/dYtmxB/section-clips/?form=json            contains all clips                 Y
* http://feed.theplatform.com/f/dYtmxB/section-events/?form=json           contains all events videos         Y
* http://feed.theplatform.com/f/dYtmxB/videos-lastchance/?form=json        contains last chance videos     Feed Not working - BadParameterException
* http://feed.theplatform.com/f/dYtmxB/featured-clips/?form=json           contains featured clips            Y
* http://feed.theplatform.com/f/dYtmxB/e16qKzBBHt4R/?form=json             Full Eps and Clips combined        Y maxes out at 100 items  - but see note below
* http://feed.theplatform.com/f/dYtmxB/CxeOeDELXKEv/?form=json             All videos on the site            Feed not working - AuthorizationException
*

* These URLs should be added as a Web Resource under the Library > Online Sources Tab in the Serviio console
*
* You can encode a range of clips you want to retrieve in the URLs by adding "&range=1-9" to the end of the URL
* eg http://feed.theplatform.com/f/dYtmxB/fe ... &range=1-9
* Will return the first 9 programs in the featured-progams feed
*
* You can also limit the number items retrieved from the serviio console too - "Max number of feed items to retreive" setting
*
* The URLs without a range option appear to max out at 100 items. But you can get the next 100 items by adding a &range101-200
* to the end of them. There do not appear to be more than 200 items in a feed. eg &range190-210 only returns 10 videos
*
* SBS seems to offer 4 video qualities. Which makes us have to make a decision about what is medium quality when
* the user specifies medium quality.
* If the user says high quality this plugin serves up the highest quality available.
* If the user says medium quality this plugin serves up the first video with a resolution higher than the value specified in the
* MEDIUM_QUAL_IS_FIRST_RESOLUTION_ABOVE variable below. (Currently this is set to 1000K )
* If the user says low quality this plugin serves up the lowest resolution available if the LOW_QUAL_IS_THIS_INDEX variable below is set = 0
* Or if the user says low quality and the LOW_QUAL_IS_THIS_INDEX variable below is set = 1 then the plugin serves up the second lowest resolution
* available
*
* It seems when running this with PreferredQuality.LOW [and LOW_QUAL_IS_THIS_INDEX =0 setting ] (on Xbox at least) that the device tries
* repeatedly to load the file and then only plays the audio.
* Might be something to do with how Xbox treats very low bit rate sources? Or how Serviio transcodes low
* bitrate sources.
*
History
Soon after the initial release of this plugin ( Sep 24, 2012) SBS changed to using Flash Media Manifest File Format (AKA .f4f format/ AKA Dynamic HTML Streaming) and the plugin stopped working.
As discussed on this thread Flash Media Manifest File Format is currently not supported by Serviio. So I figured this plugin would stay broken.

But then 6 Oct 2012 SBS changed something again and I noticed files available again without having to use the Manifest File Format. And so again I was able to get this plugin working.

7 Oct 2012 - version 0.1.5 uploaded. This is a bug fix version that fixes problems to do with preferred quality. Symptoms of the bug were many videos fail to play because a requested quality could not be found. Now if requested quality is medium and it can not find a video with quality above the MEDIUM_QUAL_IS_FIRST_RESOLUTION_ABOVE setting - it returns the highest quality available.
Attachments
SBSonDemand.groovy
0.1.5 - bug fix. working 7 oct 2012
(18.16 KiB) Downloaded 470 times
Last edited by ttguy on Sun Oct 07, 2012 7:53 am, edited 5 times in total.
--
linux/XBOX 360
<<

ttguy

Serviio lover

Posts: 60

Joined: Sun May 27, 2012 10:52 am

Post Sun Sep 23, 2012 3:24 pm

Re: SBS On Demand (Australia only)

Further feed URLs that work:

I pulled this feed link by running wireshark while browsing on the SBS site
http://feed.theplatform.com/f/dYtmxB/se ... Film%2FEpi
The &byCategories= translates to "Film|Film/Action Adventure|Film/Biography|Film/Animation|Film/Classic|Film/Comedy|Film/Cult|Film/Dance|Film/Drama|Film/Epi"

You can also use the Search for program API to generate a play list using a search?form=json&q=<search term> syntax
Eg Mythbusters search:

http://feed.theplatform.com/f/dYtmxB/se ... ythbusters

http://feed.theplatform.com/f/dYtmxB/se ... 2FPrograms - Documentary programs
--
linux/XBOX 360
<<

ttguy

Serviio lover

Posts: 60

Joined: Sun May 27, 2012 10:52 am

Post Sat Oct 06, 2012 3:28 pm

Re: SBS On Demand (Australia only)

My SBS on Demand plugin has been fixed. It is working at the moment. :D
--
linux/XBOX 360
<<

ttguy

Serviio lover

Posts: 60

Joined: Sun May 27, 2012 10:52 am

Post Sun Oct 07, 2012 7:54 am

Re: SBS On Demand (Australia only)

ver 0.1.5 - bug fix added to original post. See history section of original post
--
linux/XBOX 360
<<

Legrosa

Serviio newbie

Posts: 1

Joined: Wed Dec 25, 2013 2:16 am

Post Wed Dec 25, 2013 2:30 am

Re: SBS On Demand (Australia only)

Hi
I have followed instructions and tried to setup a link from abc iview to t-box.

I get an error

Index out of bounds exception. Index is out range 0.. -1 (index = 0)

Appears to show the name of the episode then fails on doing a loop.

Conjecture only I don't actually have any knowledge or experience in this area.
This failure is the same for sbs and iview links suggests a code problem not data.

Any help/guidance would be appreciated.

Tony
Attachments
serviioDetailLog.log
this contains detailed error messages which unfortunately do not mean a great deal to me.
(338.16 KiB) Downloaded 93 times
<<

ttguy

Serviio lover

Posts: 60

Joined: Sun May 27, 2012 10:52 am

Post Fri Jul 04, 2014 2:55 pm

Re: SBS On Demand (Australia only)

Legrosa ,
This is the wrong thread for this because your issue is with the iView plug in.

Anyway. I have ceased development on the iView plug in for reasons explained here
--
linux/XBOX 360
<<

PervySage

Serviio newbie

Posts: 17

Joined: Tue Jul 01, 2014 4:01 am

Post Sun Oct 26, 2014 8:05 am

Re: SBS On Demand (Australia only)

I haven't been able to get this SBS plugin to work, is it still supported?
<<

ttguy

Serviio lover

Posts: 60

Joined: Sun May 27, 2012 10:52 am

Post Mon Apr 06, 2015 2:16 am

Re: SBS On Demand (Australia only)

PervySage wrote:I haven't been able to get this SBS plugin to work, is it still supported?

When SBS kept changing the way SBS on demand was delivered I pretty much lost interest in supporting this plugin.

If you follow the action in the SBS downloader thread here http://forums.whirlpool.net.au/archive/2320227 you will see what I would be up against with respect to SBS serviio plug in. The maintainers of the SBS downloader are in a constant development cycle to keep up with SBS changes.
It is of course SBS's job to prevent downloads of the content because they will have only licensed the content for streaming. So we can not blame SBS for trying to stop the efforts of SBS downloader developers. The efforts of SBS to stop downloader development also impact serviio plugin development - even though the serviio will only stream the content to your device. But it does "download" it do do this for you. So serviio plug in developers are in a bit of a bind here.
I guess SBS's attitude to this would be - what device is there that the SBS on demand app does not support?
My answer was - X-box-360 because I could only get the SBS on demand app while maintaining a X-box Gold subscription - which I did not want to do. And this fact was my initial inspiration for developing the plug in. But now I just stream to my andriod tablet that I HDMI into the TV.

Bottom line - my care factor for SBS plugin is now zero and consequently SBS plugin is not supported.
But I would be happy for someone else to support it. And I would provide any assistance required to do so.
--
linux/XBOX 360
<<

impetusdirection

Serviio newbie

Posts: 1

Joined: Fri Oct 28, 2016 6:40 am

Post Fri Oct 28, 2016 7:03 am

Re: SBS On Demand (Australia only)

I just find another method to download video from SBS on Demand from
http://www.allavsoft.com/how-to/sbs-on- ... nload.html

After give it a try, I find it also helps to download video from Tenplay, ABC iView etc

Return to Available plugins

Who is online

Users browsing this forum: Bing [Bot] and 3 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.