Page 1 of 1

PBS Plug-in

PostPosted: Wed Dec 14, 2011 8:56 pm
by dfreadhoff
Her is a plug-in for PBS shows.

I tested with This old House RSS
http://video.pbs.org/program/old-house/rss/

Can someone test this for me...not all shows played for me.

Thanks,
Dylan

Re: PBS Plug-in

PostPosted: Thu Dec 15, 2011 5:24 am
by CigDangle
The listing for This Old House showed up, but it did not work for other feeds like:

http://video.pbs.org/program/nova/rss/
http://video.pbs.org/program/frontline/rss/

Also, although This Old House listed available videos, it was VERY jumpy, and VERY slow to complete the list. No other feeds exhibit this issue, and I have more than ample bandwidth.

I'd be glad to test going forward, as I'd LOVE to see this work! Thanks!

Re: PBS Plug-in

PostPosted: Thu Dec 15, 2011 3:46 pm
by dfreadhoff
When I look at the videoPlayerInfo file for Nova, the episode_website that I used in this old house is blank. I hope someone here can tell me which URL to use instead. I am include the file for everyone.

<videoPlayerInfo>
<emailServiceURL>http://video.pbs.org/share/</emailServiceURL>
<playerURL>http://video.pbs.org/video/2175892485</playerURL>
<mediaId>2175892485</mediaId><mediaURL>http://www-tc.pbs.org/s3/pbs.videoportal-prod.cdn/media</mediaURL><releaseURL>aes$95D0062013153207AABEBE50DB98A235$j/Y1ITwScEVAL3iEJDgRxsYFNMZILyx4dUaV5aqna9M0IEiw8cgHSVCzLnsVWZkqXwJiPLs9jqZfjnt5wpFVWOGh4BEFBNI5k9WAgZ5gmiwEIN4uN/BiECsNwkmf04YMtRpz7aKTBFVzVVJ6XVgvveSuaTNxcMHwCb72vA4dB+ohW7JPJeFpgc8exO27btt2x4D99UFFLPOrJqG3uNndC3w6EYvRj/4GyqJ38KWiSFg=</releaseURL>
<brand>PBS</brand>
<videoInfo>
<title>Light My Fire</title>
<description>What do you get when you introduce a chunk of Sodium to a Bunsen burner? Sizzling romance.</description>
<short_description>What do you get when you introduce a chunk of Sodium to a Bunsen burner? Sizzling omance.</short_description>
<content_type>Segment</content_type>
<allow_embed>True</allow_embed>
<episode_website></episode_website>
<transcript_url>http://portal.theplatform.com/get.transcript?pid=tTYX3azqXeNAnJIwZiqtAsI82P2Y5rVc&amp;gid=879669679</transcript_url><premiere_date>Dec. 12, 2011, 3:01 a.m.</premiere_date><episode_expires></episode_expires><tv_rating>NR</tv_rating><length>78592</length><base_url>http://video.pbs.org/</base_url><link>video/2175892485</link><producer_brand>pbs</producer_brand><producer_video_site>http://video.pbs.org</producer_video_site><thumbnailURL>http://www-tc.pbs.org/video/media/images/assets/videos/2175892485/2175892485_PartnerPlayer.jpg</thumbnailURL><relatedLinks><links><link_url> http://www.pbs.org/wgbh/nova/physics/hu ... ments.html</link_url><link_title>NOVA&#39;s &quot;Hunting for the Elements&quot; homepage</link_title></links><links><link_url>http://www.pbs.org/wgbh/nova/mailing/</link_url><link_title>E-Mail Newsletter</link_title></links><links><link_url>http://www.shoppbs.org/family/index.jsp?categoryId=1412584&amp;utm_source=NOVAwebsite&amp;utm_medium=Footer&amp;utm_campaign=ShopNOVA</link_url><link_title>Shop NOVA</link_title></links></relatedLinks><program_title>NOVA</program_title><program_link>program/nova</program_link><program_website>http://www.pbs.org/wgbh/nova/</program_website><buydvdlink></buydvdlink><downloadlink></downloadlink><funder_message></funder_message><program_underwriting></program_underwriting><LRminClipLength>180000</LRminClipLength><LRadMap>in:warnings:0;in:pbs:0</LRadMap><LRpublisherID></LRpublisherID><learn_more></learn_more></videoInfo><relatedVideos><related_video><title>Christmas in Yellowstone - Preview</title><link>video/2176363070</link><thumbnailURL>http://www-tc.pbs.org/cove-media/http/PBS_CP_Promotions/28/555/NAAT-2403-yellowstone-COVE-THUMB.jpg</thumbnailURL><program_title>Nature</program_title><program_link>program/nature</program_link></related_video><related_video><title>Light My Fire</title><link>video/2175892485</link><thumbnailURL>http://www-tc.pbs.org/cove-media/http/PBS_CP_NOVA/28/96/light-my-fire-thumb.jpg</thumbnailURL><program_title>NOVA</program_title><program_link>program/nova</program_link></related_video><related_video><title>Echo: An Elephant to Remember - Preview</title><link>video/2171528742</link><thumbnailURL>http://www-tc.pbs.org/cove-media/http/PBS_CP_Promotions/23/954/NAAT-2801-echo-COVE-THUMB.jpg</thumbnailURL><program_title>Nature</program_title><program_link>program/nature</program_link></related_video></relatedVideos><chaptersList></chaptersList><comScore><category>030900</category></comScore><googleAnalytics><pbsID>UA-6766312-2</pbsID><programID>UA-3988832-2</programID><stationID></stationID></googleAnalytics></videoPlayerInfo>

Re: PBS Plug-in

PostPosted: Thu Dec 15, 2011 4:32 pm
by zip
you have to sniff traffic, either in your browser or using rtmpsuck / wireshark to see what requests the player's making

Re: PBS Plug-in

PostPosted: Wed Jan 04, 2012 2:05 am
by CigDangle
Has there been any progress on this plug-in? I would be very interested in seeing it work...

Re: PBS Plug-in

PostPosted: Wed Jan 04, 2012 2:28 am
by PhilD41
Doesn't look like this is going to be straight forward. I too would LOVE to have the PBS shows available. I sniffed a few NOVA streams and they aren't consistent. Two are below to demonstrate.

rtmp://sdwfchwqitj2v.cloudfront.net:193 ... 2159408847
rtmp://sdwfchwqitj2v.cloudfront.net:193 ... 2177414412

I am not exactly sure how you were figure that out in a plugin and generate it dynamically. If anyone knows then go for it.... this would be awesome!!

- Philip

Re: PBS Plug-in

PostPosted: Mon Jan 09, 2012 12:01 am
by CigDangle
Just an FYI, with version 0.6.1, the need for this plugin may be obsolete.

Serviio 0.6.1 can use Hulu.com feeds, and Nova along with a number of PBS shows are available there!

Nova's feed, which includes the 20 most recent episodes, is:
http://www.hulu.com/feed/show/931/episodes

Re: PBS Plug-in

PostPosted: Mon Jan 09, 2012 1:06 am
by PhilD41
This sounds fantastic!!! Just out of curiosity, what feed from hulu do I need for the other shows? I am looking for Nature currently. I can't seem to find anything but the search feed. Everything else takes me to pbs.org. Also, to I add this to serviio as a rss feed, or web resource? There seem to be a few new option. Headed to look for the doc right now.

Thanks!!!

Re: PBS Plug-in

PostPosted: Mon Jan 09, 2012 1:32 am
by CigDangle
Sadly, Nature will not work.

If you go here, you will see that Nature is only available for viewing on PBS.org and not directly from Hulu.com.

If you do add a Hulu.com feed, you add it as an RSS, not a Web Resource.

Re: PBS Plug-in

PostPosted: Mon Jan 09, 2012 2:16 am
by PhilD41
Thanks CigDangle, I figured that out after doing a few more searches on Hulu. I haven't used it much in the past. So I added the Nova feed you provided and did a forced refresh. I have the folder on serviio, but it is empty. I am not seeing any of the episodes? Am I doing something wrong? Basic procedure was copy, add online resource, select atom / rss type, paste in URL, and name it Nova... click add.

Re: PBS Plug-in

PostPosted: Mon Jan 09, 2012 2:42 am
by CigDangle
Yup, but you also need to make sure you are running Serviio 0.6.1, which just came out a few days ago.

Re: PBS Plug-in

PostPosted: Mon Jan 09, 2012 2:49 am
by PhilD41
Yep, I upgraded this afternoon. I know I am running the correct console, it says so at the top. Pretty sure I have my upstart script changed to run the correct server as well. Anything else I should check?

Re: PBS Plug-in

PostPosted: Mon Jan 09, 2012 4:39 am
by CigDangle
Not off the top of my head. Wish I could be more help...

Re: PBS Plug-in

PostPosted: Wed Jan 11, 2012 4:28 pm
by CigDangle
I'm not at home, so I cannot check this, but I just stumbled on this post...

/viewtopic.php?f=29&t=3910

Re: PBS Plug-in

PostPosted: Wed Jan 11, 2012 9:29 pm
by PhilD41
yep, we watch that one. It is more of a "how they did it" pod cast which I like. The kids enjoy the actual Nature shows though. I have resigned myself to the fact that Nature won't be streamed to my TV anytime soon. :-) I do wish I could get these Hulu feed to work though. Oh well, some day when I have more time to play around with it...

Thanks for you help by the way... I have greatly appreciated the assistance!

Re: PBS Plug-in

PostPosted: Tue Mar 13, 2012 8:23 pm
by kmw_29
This Old House shows up on my TV, but won't play. It either doesn't load, or freezes immediately. Has anyone figured out why this does not work? Also, it won't display Austin City Limits at all. Help!!!

Re: PBS Plug-in

PostPosted: Sat Jan 05, 2013 3:17 am
by darkcloud784
I am really unsure how this works, you put the groovy file in the plugins folder. Add the RSS feed such as http://video.pbs.org/program/masterpiece/rss/ for downton abbey for the video to your library as an actual RSS feed? NOT as a web resource? Then the movie should show up in the "online" list correct? If so, this is not working for me.


For any curious developers, this is the error I have with this plugin.


  Code:
2013-01-06 21:43:45,701 WARN  [FeedUpdaterThread] Failed to retrieve online item information for http://www.pbs.org/downton. It might not play.
java.io.IOException: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
   at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveMetadata(FeedUpdaterThread.java:291)
   at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveTechnicalMetadata(FeedUpdaterThread.java:209)
   at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:102)
Caused by: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
   at org.serviio.library.metadata.FFmpegMetadataRetriever.validateMandatoryMetadata(FFmpegMetadataRetriever.java:409)
   at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveMetadata(FFmpegMetadataRetriever.java:89)
   at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveOnlineMetadata(FFmpegMetadataRetriever.java:127)
   at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveMetadata(FeedUpdaterThread.java:268)
   ... 2 more