Posted By: Aaron Patterson
Date: 2006-08-29 06:45
Summary: Ruby iTunes Client - Net::DAAP::Client 0.2.2
Project: Net::DAAP::Client

The ruby iTunes client, Net::DAAP::Client, version 0.2.2 is ready for you! Check out the new features in the release notes. Use the new features! Enjoy the new features!

= Net::DAAP::Client Release Notes

== 0.2.2

This release of Net::DAAP::Client (the ruby itunes client) has a few important
improvements. First, a new method called "connect_db" has been added to
Net::DAAP::Client. This method will automatically connect to a server and
yield every database to the block. Here's an example:
Net::DAAP::Client.new('localhost').connect_db { |db|
db.songs.each { |song| puts song }
}
A 'save' method has been added to Net::DAAP::Song to make it easier to save
that song. The save method comes up with a name to save the song for you.
For example, to save every song in the database you could do this:
Net::DAAP::Client.new('localhost').connect_db { |db|
db.songs.each { |song| song.save }
}
The final new addition is 'net/daap/speed_hacks'. iTunes uses HTTP as its
transport, and ruby's net/http is slow when downloading large files. Be
very careful when requiring this library as it overrides a method in the
built in net/http library. Just require the library and you will get a
significant speed increase.

= Net::DAAP::Client Changelog

== 0.2.2

* Added Net::DAAP::Song#save which will automatically save files for you
* Added Net::DAAP::Client#connect_db which will automatically yield a database
* Added a new example for downloading songs
* Added 'net/daap/speed_hacks' for improving Net::HTTP speed
* Fixed a couple warnings

Latest News
icalendar 1.4.0 Released
    Ryan Ahearn - 2013-05-21 23:17
BinData 1.5.0 - source moved to github
    Dion Mendel - 2013-05-21 11:10
v13.5.0 Released !!
    id 774 - 2013-05-18 12:28
Runt v0.9.0 Released
    Matthew Lipper - 2013-05-17 00:11
kramdown 1.0.2 released
    Thomas Leitner - 2013-05-09 06:58

 

Forums | Admin

Discussion Forums: ruby-itunes-client---net--daap--client-0.2.2

Start New Thread Start New Thread

 

Topic Topic Starter Replies Last Post