The GSoC official period started and i’m back again to the Media Center. Today i’ll show you a one-night-coded engine 😛 After notmart’s suggestion (great mentor, great) i got a pretty nice working version of a YouTubeEngine!! 🙂 You can easily use it to query YouTube for videos. Try the following queries for example 😛 (and thank sebas for the query suggestions!)

asian backstreet boys

asian backstreet boys

numa numa guy

numa numa guy

Remember to prepend “query/” to your queries as from the screenshots. Each source will have a key for each video id found. And with each id you’ll be able to retrieve a Plasma::DataEngine::Data containing video informations accessible through the keys specified in the docs (title, comment, keywords). I’ll add new keys asap but it’s already pretty nice and working. I need to do more checking stuff on the queries though.

Aaanyway, enjoy!


12 Responses to “PlasmaTube”

  1. 1 Ivan Čukić May 27, 2009 at 11:23 am

    This is cool, but could you add the support for all RSS/ATOM-based podcasts and then change the dataengine name to something else?

    I’m asking because this is a grey area we had with twitter data engine – since twitter is not free software, it was decided that its d.a. will not be shipped by default, but since it started supporting laconica based sites ( it is a completely different story.

  2. 2 anon May 27, 2009 at 1:35 pm

    Sounds great. I have an idea for a plasma widget with that engine:
    Get the cinema charts from somewhere and add the trailer, which is probably on youtube, with /query some_film trailer (german|french|spanish)
    (of course one could also get the trailers from somewhere else or just embed a webpage which already has the trailers on it)
    But whatever way it is done, such a cinema trailers plasmoid would be absolutely great, and I think this dataengine would be a great starting point!

  3. 3 maninalift May 27, 2009 at 3:02 pm

    Same point as Ivan really. Even if you don’t do it now, it’s likely that at some point someone will want to expand this to support other sources of video search, it’s probably best to design and name it with that in mind.

  4. 4 maninalift May 27, 2009 at 3:03 pm

    @anon … sounds cool … could also check IMDB for trailers

  5. 5 Alessandro Diaferia May 27, 2009 at 5:38 pm

    Thanks to Ivan today i discussed with my mentor about the chance to extend it to more services, not only youtube. And we agree that making this engine working with plugins would be really neat. Anyway now i won’t focus on this, but i’ll for sure try a simple plugin implementation asap 😉

  6. 6 Aaron Seigo May 28, 2009 at 2:51 am

    small nitpick on the query/ syntax: could you use query| instead? it’s becoming something of a common de-facto approach to such things in plasma dataengines.

  7. 7 Alessandro Diaferia May 28, 2009 at 8:58 am

    suuure mr Aaron, will do! 🙂

  8. 8 miasma May 28, 2009 at 10:13 pm

    It would be great if this could totally bypass the flash infested web site. Youtube requires maybe a 1.2 Ghz cpu to play videos in 1:1 size. Running them with a native mplayer instance (wrapped in a kde app) would allow running youtube on older machines, too.

  9. 9 portable public address system April 10, 2013 at 6:11 am

    Remarkable issues here. I’m very happy to look your post. Thanks so much and I’m having a look ahead to touch you.
    Will you kindly drop me a mail?

  10. 10 Beverly April 13, 2014 at 1:59 am

    I blog frequently and I truly thank you for your content.
    Your article has really peaked my interest. I am going
    to book mark your blog and keep checking for new information about once per
    week. I opted in for your RSS feed as well.

  1. 1 PlasmaTube: un motore del famoso YouTube - Crismon’s Blog Trackback on May 27, 2009 at 2:52 pm
  2. 2 New challenges. « :: sebas' blog Trackback on May 27, 2010 at 1:37 am

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


%d bloggers like this: