Shane Vitarana more brain > blog.html

More YouTube Library Goodness

I just checked in YouTube Library v0.8.5 to the trunk and uploaded the new gem. It fixes a few bugs that have been bugging you guys for a while, and includes some new methods the guys over at Google/YouTube were kind enough to add. Namely:

youtube.videos.list_by_related (with paging),
youtube.videos.list_by_playlist (with paging),
youtube.videos.list_by_category (with paging)
youtube.videos.list_by_category_and_tag (with paging)

The category and tag search will greatly help in filtering out unwanted videos compared to regular tag searches. Tests for these methods have been included too. Just update or install the youtube gem.

I also created a Google Group to discuss issues and bugs. If you are a casual user, developer, or just interested in the progress of this library, please sign up below. All future announcements regarding this library will be posted to the group.

<table border=0 style="background-color: #fff; padding: 5px;" cellspacing=0>
    <img src=""
         height=26 width=132 alt="Google Groups Beta">
  <tr><td style="padding-left: 5px">
    <b>Subscribe to Ruby YouTube Library</b>
  <form action="">
  <input type=hidden name="hl" value="en">
  <tr><td style="padding-left: 5px;">
    Email: <input type=text name=email>
           <input type=submit name="sub" value="Subscribe">
<tr><td align=right>
  <a href="">Visit this group</a>

YouTube seems to be having some issues with category and category/tag search at the moment, so I commented out those tests. As soon as they fix it, I will uncomment the tests and they should pass. Follow this thread over at the YouTube Developer’s group to learn more.