Page 1 of 1

Yahoo Pipes / Mixed video feeds plugin

PostPosted: Thu Jan 10, 2013 7:59 am
by mqojdn
Source type: Web Resource
Supported links: http://pipes.yahoo.com/pipes/pipe.run?_id=_______&_render=rss

Right now supports RSS/Atom video feeds + YouTube gdata feeds.
Loads required plugins per feed item. Right now only supports the YouTube plugin.
In general, would play any video feeds, not just from Yahoo Pipes.

Quite useless as it is, cause:
    - If already using Yahoo Pipes, one might as well rewire any videos to play with the default feed source.
    - Most plugins are developed as Web Resource, so wouldn't work with the plugin.

v2:
Gets the list of plugins from Serviio, however some plugins should be edited. Plugin names and classes should read the same, as below:
  Code:
    String getExtractorName() {
        return 'Hulu'
    }
  Code:
class Hulu extends FeedItemUrlExtractor ...

v3:
Audio feeds support.

Re: Yahoo Pipes / Mixed video feeds plugin

PostPosted: Mon Jan 14, 2013 1:46 am
by gonzo90017
Thank you for the plugin. It's not as useless as you think. I have a ton of Youtube and Hulu RSS feeds that I run through Yahoo Pipes. The reason? It's easy to filter out the content you don't want from Youtube Users and Hulu Feeds. Also using Yahoo Pipes with Hulu and Youtube feeds is the only way I know of to get more then 25 results which is really important especially for shows with more then 25 episodes.

Stupid question but what exactly should I add to YahooPipes v1.groovy to add Hulu Support?

Re: Yahoo Pipes / Mixed video feeds plugin

PostPosted: Mon Jan 14, 2013 7:33 pm
by mqojdn
gonzo90017 wrote:Stupid question but what exactly should I add to YahooPipes v1.groovy to add Hulu Support?

Change these lines in YahooPipes v1.groovy to read:
  Code:
    private void populatePluginList() {
        pluginList = ["YouTube", "Hulu"];
        getPluginList();
    }


Change these lines in Hulu.groovy to read:
  Code:
    String getExtractorName() {
        return 'Hulu'
    }

Without the (US only)

If that wouldn't work, post the feed.

Re: Yahoo Pipes / Mixed video feeds plugin

PostPosted: Tue Jan 15, 2013 4:31 pm
by mqojdn
v2

Re: Yahoo Pipes / Mixed video feeds plugin

PostPosted: Tue Jan 22, 2013 7:39 pm
by mqojdn
v3

Re: Yahoo Pipes / Mixed video feeds plugin

PostPosted: Wed Jan 01, 2014 2:20 am
by slurpx
Thanks for this plugin, that is just what I needed and not useless at all. Also it is very easy to modify any existing plugin to work with it. However it doesn't parse the publicDate correctly when your locale is not English so I modified the line

releaseDate = Date.parse("EEE, dd MMM yyyy HH:mm:ss Z", itemInfo.get("pubDate"));

to

DateFormat dateFormatterRssPubDate = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss Z", Locale.ENGLISH);
releaseDate = dateFormatterRssPubDate.parse(itemInfo.get("pubDate"));

Feel free to update your code if you like.

Thank you again and keep up the good work!