FAQ  •  Register  •  Login

Discovery.com

<<

nwalk7800

Serviio newbie

Posts: 12

Joined: Tue Jul 23, 2013 1:25 pm

Post Tue Jul 23, 2013 1:35 pm

Discovery.com

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
Attachments
Discovery.groovy
(7.32 KiB) Downloaded 1120 times
Last edited by nwalk7800 on Mon Feb 24, 2014 12:33 am, edited 3 times in total.
<<

cerothen

Streaming enthusiast

Posts: 20

Joined: Sat Dec 29, 2012 2:37 pm

Post Mon Dec 09, 2013 3:38 am

Re: Discovery.com

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).
<<

nwalk7800

Serviio newbie

Posts: 12

Joined: Tue Jul 23, 2013 1:25 pm

Post Wed Dec 11, 2013 6:47 pm

Re: Discovery.com

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.
<<

MartinGhuusfeldt

Serviio newbie

Posts: 4

Joined: Thu Jan 23, 2014 5:03 pm

Post Thu Jan 23, 2014 5:08 pm

Re: Discovery.com

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??
<<

nwalk7800

Serviio newbie

Posts: 12

Joined: Tue Jul 23, 2013 1:25 pm

Post Sat Feb 22, 2014 6:50 pm

Re: Discovery.com

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.
<<

atc98092

User avatar

DLNA master

Posts: 5213

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Mon Feb 24, 2014 12:19 am

Re: Discovery.com

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)
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

nwalk7800

Serviio newbie

Posts: 12

Joined: Tue Jul 23, 2013 1:25 pm

Post Mon Feb 24, 2014 12:39 am

Re: Discovery.com

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
<<

atc98092

User avatar

DLNA master

Posts: 5213

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Mon Feb 24, 2014 1:32 pm

Re: Discovery.com

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
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

atc98092

User avatar

DLNA master

Posts: 5213

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Tue Feb 25, 2014 1:23 am

Re: Discovery.com

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?
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

nwalk7800

Serviio newbie

Posts: 12

Joined: Tue Jul 23, 2013 1:25 pm

Post Tue Feb 25, 2014 1:54 am

Re: Discovery.com

That looks like the same error. Did you restart the service after updating the plugin?
<<

atc98092

User avatar

DLNA master

Posts: 5213

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Tue Feb 25, 2014 1:28 pm

Re: Discovery.com

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!
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

atc98092

User avatar

DLNA master

Posts: 5213

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Wed Feb 26, 2014 1:32 am

Re: Discovery.com

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)
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents

Return to Available plugins

Who is online

Users browsing this forum: No registered users and 34 guests

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