Page 1 of 1

Discovery.com

PostPosted: Tue Jul 23, 2013 1:35 pm
by nwalk7800
I didn't see one so I created a Discovery plugin for myself and thought I would share it here for anyone else to use.

Unfortunately very few shows offer full episodes, but some (How It's Made) offer so many clips they might as well be full episodes.

It should work with most of the discovery.com sites. I've tested all the stuff that I'm interested in, but let me know if you are having problems trying to use it.

Add it as a web resource.

Example URLs:
http://dsc.discovery.com/tv-shows/mythbusters
http://science.discovery.com/tv-shows/how-its-made
http://animal.discovery.com/tv-shows/my-cat-from-hell

Updated 12-Aug-2013 - Discovery modified their episode list to include different quality streams

Updated 22-Feb-2014 - EPISODE_LIST location changed from science.discovery.com to http://www.sciencechannel.com for some episodes

Updated 23-Feb-2014 - Removed playlsit from the the episode list filter and handle empty video list

Re: Discovery.com

PostPosted: Mon Dec 09, 2013 3:38 am
by cerothen
This plugin seems great! I was wondering if you would be interested in creating a fork of this for "discovery.ca". There are a few shows that are under the .CA version that I am interested namely "Daily Planet".

If you were interested I would greatly appreciate it (and perhaps a few others also).

Re: Discovery.com

PostPosted: Wed Dec 11, 2013 6:47 pm
by nwalk7800
Unfortunately the discovery.ca site is too different for this plugin to even be a starting point.

I've seen the same thing with other foreign sites. They apparently develop their sites completely independently for each country.

Re: Discovery.com

PostPosted: Thu Jan 23, 2014 5:08 pm
by MartinGhuusfeldt
Odd I cant get it to work..
I got YouTube feeds working but this..
anything special about set presentation in Serviio?
I tried with
http://dsc.discovery.com/tv-shows/mythbusters
as Web Source
name it test but it just not show up in my Serviio??

Re: Discovery.com

PostPosted: Sat Feb 22, 2014 6:50 pm
by nwalk7800
Sorry, it took me do long to get back to you. Discovery did make some tweaks to their page again although it wasn't affecting my Mythbusters resource. I'll upload the new version in a minute.

Re: Discovery.com

PostPosted: Mon Feb 24, 2014 12:19 am
by atc98092
Just tried loading it, and I am getting an error for the sciencechannel.com stuff.
  Code:
[FeedUpdaterThread] An error occured while trying to parse an online resouce requiring a plugin, provide the plugin or remove the resource: No plugin for web resource http://www.sciencechannel.com/tv-shows/how-its-made has been found.


I changed the URL to use science.discovery.com instead, and I get a different error:
  Code:
[FeedUpdaterThread] An error occured while parsing the online resource http://science.discovery.com/tv-shows/how-do-they-do-it, will try again soon: Unexpected error while invoking plugin (discovery.com): index is out of range 0..-1 (index = 0)
org.serviio.library.online.metadata.OnlineResourceParseException: Unexpected error while invoking plugin (discovery.com): index is out of range 0..-1 (index = 0)

Re: Discovery.com

PostPosted: Mon Feb 24, 2014 12:39 am
by nwalk7800
Sorry, I actually noticed that error earlier as well. Some shows, including How It's Made and How Do They Do It will sometimes have playlists in the episode list. They seem to always consist of old episodes and don't always list the video locations. So I removed playlists from my search and check to make sure that there are actually videos listed.

I'm having some issues with some of the How It's Made videos not playing right now. It looks like maybe some of the audio streams are not supported. I'll see if I can't find a solution for that soon.

Also the update from yesterday doesn't require any change on your part. Still put in the show URL the same as before.

e.g.

http://science.discovery.com/tv-shows/how-do-they-do-it
http://science.discovery.com/tv-shows/how-its-made

Re: Discovery.com

PostPosted: Mon Feb 24, 2014 1:32 pm
by atc98092
nwalk7800 wrote:Sorry, I actually noticed that error earlier as well. Some shows, including How It's Made and How Do They Do It will sometimes have playlists in the episode list. They seem to always consist of old episodes and don't always list the video locations. So I removed playlists from my search and check to make sure that there are actually videos listed.

I'm having some issues with some of the How It's Made videos not playing right now. It looks like maybe some of the audio streams are not supported. I'll see if I can't find a solution for that soon.

Also the update from yesterday doesn't require any change on your part. Still put in the show URL the same as before.

e.g.

http://science.discovery.com/tv-shows/how-do-they-do-it
http://science.discovery.com/tv-shows/how-its-made


Excellent, I'll replace the groovy when I get home tonight. Thanks for the quick response! :D

Re: Discovery.com

PostPosted: Tue Feb 25, 2014 1:23 am
by atc98092
Still getting the index error:
  Code:
2014-02-24 17:13:55,185 WARN  [FeedUpdaterThread] An error occured while parsing the online resource http://science.discovery.com/tv-shows/how-its-made, will try again soon: Unexpected error while invoking plugin (discovery.com): index is out of range 0..-1 (index = 0)
org.serviio.library.online.metadata.OnlineResourceParseException: Unexpected error while invoking plugin (discovery.com): index is out of range 0..-1 (index = 0)


I have three different shows configured, and two return this error (How it's Made and Mega-Shredders). The third one (How do they do it?) isn't showing an error in the log, but nothing is being retrieved. I left the URL as you show, but when you browse to the web site, it is redirected to http://www.sciencechannel.com/tv-shows/ ... they-do-it. Could that be causing an issue?

Re: Discovery.com

PostPosted: Tue Feb 25, 2014 1:54 am
by nwalk7800
That looks like the same error. Did you restart the service after updating the plugin?

Re: Discovery.com

PostPosted: Tue Feb 25, 2014 1:28 pm
by atc98092
nwalk7800 wrote:That looks like the same error. Did you restart the service after updating the plugin?


No I didn't. I didn't think that was necessary when changing a plugin. I'll do that today and see what happens.

Thanks!

Re: Discovery.com

PostPosted: Wed Feb 26, 2014 1:32 am
by atc98092
Restarted the service. Same error, and nothing appears in my playlist.
  Code:
2014-02-25 15:47:27,263 WARN  [FeedUpdaterThread] An error occured while parsing the online resource http://science.discovery.com/tv-shows/how-do-they-do-it, waiting for expiry time to try again: Unexpected error while invoking plugin (discovery.com): index is out of range 0..-1 (index = 0)
org.serviio.library.online.metadata.OnlineResourceParseException: Unexpected error while invoking plugin (discovery.com): index is out of range 0..-1 (index = 0)