{"id":141,"date":"2010-03-01T12:31:35","date_gmt":"2010-03-01T11:31:35","guid":{"rendered":"http:\/\/blogs.igalia.com\/itoral\/?p=141"},"modified":"2010-03-01T12:31:35","modified_gmt":"2010-03-01T11:31:35","slug":"grilo-on-totem","status":"publish","type":"post","link":"https:\/\/blogs.igalia.com\/itoral\/2010\/03\/01\/grilo-on-totem\/","title":{"rendered":"Grilo on Totem"},"content":{"rendered":"<p>In my <a href=\"http:\/\/blogs.igalia.com\/itoral\/2010\/02\/24\/updates-on-grilo\/\">last post<\/a> I mentioned I was working on a <strong>Totem plugin based on Grilo<\/strong>, last week I put some more effort on that and I got a <em>beta version<\/em>, you can check out some pics below:<\/p>\n<figure id=\"attachment_162\" aria-describedby=\"caption-attachment-162\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/blogs.igalia.com\/itoral\/files\/2010\/03\/totem-grilo-1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blogs.igalia.com\/itoral\/files\/2010\/03\/totem-grilo-1-300x195.png\" alt=\"Browsing and playing  videos from Youtube\" width=\"300\" height=\"195\" class=\"size-medium wp-image-162\" srcset=\"https:\/\/blogs.igalia.com\/itoral\/files\/2010\/03\/totem-grilo-1-300x195.png 300w, https:\/\/blogs.igalia.com\/itoral\/files\/2010\/03\/totem-grilo-1-460x300.png 460w, https:\/\/blogs.igalia.com\/itoral\/files\/2010\/03\/totem-grilo-1.png 640w\" sizes=\"auto, (max-width: 300px) 85vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-162\" class=\"wp-caption-text\">Browsing and playing  videos from Youtube<\/figcaption><\/figure>\n<figure id=\"attachment_163\" aria-describedby=\"caption-attachment-163\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/blogs.igalia.com\/itoral\/files\/2010\/03\/totem-grilo-2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blogs.igalia.com\/itoral\/files\/2010\/03\/totem-grilo-2-300x188.png\" alt=\"Browseable sources\" width=\"300\" height=\"188\" class=\"size-medium wp-image-163\" srcset=\"https:\/\/blogs.igalia.com\/itoral\/files\/2010\/03\/totem-grilo-2-300x188.png 300w, https:\/\/blogs.igalia.com\/itoral\/files\/2010\/03\/totem-grilo-2-476x300.png 476w, https:\/\/blogs.igalia.com\/itoral\/files\/2010\/03\/totem-grilo-2.png 640w\" sizes=\"auto, (max-width: 300px) 85vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-163\" class=\"wp-caption-text\">Browseable sources<\/figcaption><\/figure>\n<figure id=\"attachment_164\" aria-describedby=\"caption-attachment-164\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/blogs.igalia.com\/itoral\/files\/2010\/03\/totem-grilo-3.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blogs.igalia.com\/itoral\/files\/2010\/03\/totem-grilo-3-300x225.png\" alt=\"Searching images on flickr\" width=\"300\" height=\"225\" class=\"size-medium wp-image-164\" srcset=\"https:\/\/blogs.igalia.com\/itoral\/files\/2010\/03\/totem-grilo-3-300x225.png 300w, https:\/\/blogs.igalia.com\/itoral\/files\/2010\/03\/totem-grilo-3-398x300.png 398w, https:\/\/blogs.igalia.com\/itoral\/files\/2010\/03\/totem-grilo-3.png 640w\" sizes=\"auto, (max-width: 300px) 85vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-164\" class=\"wp-caption-text\">Searching images on flickr<\/figcaption><\/figure>\n<figure id=\"attachment_165\" aria-describedby=\"caption-attachment-165\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/blogs.igalia.com\/itoral\/files\/2010\/03\/totem-grilo-4.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blogs.igalia.com\/itoral\/files\/2010\/03\/totem-grilo-4-300x177.png\" alt=\"Searching Guadec videos on  Youtube\" width=\"300\" height=\"177\" class=\"size-medium wp-image-165\" srcset=\"https:\/\/blogs.igalia.com\/itoral\/files\/2010\/03\/totem-grilo-4-300x177.png 300w, https:\/\/blogs.igalia.com\/itoral\/files\/2010\/03\/totem-grilo-4-500x295.png 500w, https:\/\/blogs.igalia.com\/itoral\/files\/2010\/03\/totem-grilo-4.png 640w\" sizes=\"auto, (max-width: 300px) 85vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-165\" class=\"wp-caption-text\">Searching Guadec videos on  Youtube<\/figcaption><\/figure>\n<figure id=\"attachment_166\" aria-describedby=\"caption-attachment-166\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/blogs.igalia.com\/itoral\/files\/2010\/03\/totem-grilo-5.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blogs.igalia.com\/itoral\/files\/2010\/03\/totem-grilo-5-300x178.png\" alt=\"Browsing content from Jamendo\" width=\"300\" height=\"178\" class=\"size-medium wp-image-166\" srcset=\"https:\/\/blogs.igalia.com\/itoral\/files\/2010\/03\/totem-grilo-5-300x178.png 300w, https:\/\/blogs.igalia.com\/itoral\/files\/2010\/03\/totem-grilo-5-500x297.png 500w, https:\/\/blogs.igalia.com\/itoral\/files\/2010\/03\/totem-grilo-5.png 640w\" sizes=\"auto, (max-width: 300px) 85vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-166\" class=\"wp-caption-text\">Browsing content from Jamendo<\/figcaption><\/figure>\n<p>I have also recorded an <strong><em>ogv<\/em> video showing the plugin at work <\/strong> in more detail, you can check it out <a href=\"http:\/\/people.igalia.com\/itoral\/totem-grilo.ogv\">here<\/a>.<\/p>\n<p>Also, I uploaded the <a href=\"http:\/\/gitorious.com\/itoral-totem-grilo\">code to <strong>gitorious<\/strong><\/a> if you feel curious about it. If you want to build the plugin from the sources check the <em>HACKING<\/em> file on the repository. Also, I suggest you build <strong>Grilo<\/strong> from the sources as well or wait for the <strong>release 0.1.3<\/strong> which should be coming out later today.<\/p>\n<p>Now to the more interesting part, the good thing about <strong>Grilo<\/strong> is not just the plugins, it is the fact that you can interact with them with a <strong>common API<\/strong>. As a matter of a fact, I could now add more plugins to <strong>Grilo<\/strong> and those would show up in <strong>Totem<\/strong> without having to code anything extra, not a single line on <strong>Totem<\/strong> or its <strong>Grilo<\/strong> plugin, it would just work: you would be able to browse the new plugins if they are browseable in the <em>Browse<\/em> view and\/or you would be able to search them if they are searchable in the <em>Search<\/em> view, etc.<\/p>\n<p>The plugin is not really finished, it can still use some extra work, particularly in these areas:<\/p>\n<ul>\n<li>Localization support.<\/li>\n<li>Proper user interface definition with GtkBuilder.<\/li>\n<li>Settings persistence with GConf.<\/li>\n<li>Usability tweaks<\/li>\n<li>Review memory management, fix memory leaks, etc<\/li>\n<li>More testing and general debugging.<\/li>\n<\/ul>\n<p>but all in all, it is good enough already for others to try and give feedback, so if you have any, please drop me a comment! \ud83d\ude42<\/p>\n<p>That&#8217;s all for now, I am looking forward to seeing this on the upstream <strong>Totem<\/strong> at some point in the future, so if some <strong>Totem<\/strong> developer is reading this, please let me know how you feel about that.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my last post I mentioned I was working on a Totem plugin based on Grilo, last week I put some more effort on that and I got a beta version, you can check out some pics below: I have also recorded an ogv video showing the plugin at work in more detail, you can &hellip; <a href=\"https:\/\/blogs.igalia.com\/itoral\/2010\/03\/01\/grilo-on-totem\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Grilo on Totem&#8221;<\/span><\/a><\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[4],"class_list":["post-141","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-grilo"],"_links":{"self":[{"href":"https:\/\/blogs.igalia.com\/itoral\/wp-json\/wp\/v2\/posts\/141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.igalia.com\/itoral\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.igalia.com\/itoral\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.igalia.com\/itoral\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.igalia.com\/itoral\/wp-json\/wp\/v2\/comments?post=141"}],"version-history":[{"count":0,"href":"https:\/\/blogs.igalia.com\/itoral\/wp-json\/wp\/v2\/posts\/141\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.igalia.com\/itoral\/wp-json\/wp\/v2\/media?parent=141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.igalia.com\/itoral\/wp-json\/wp\/v2\/categories?post=141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.igalia.com\/itoral\/wp-json\/wp\/v2\/tags?post=141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}