Files | Admin

Notes:

Release Name: daapclient-0.2.0

Notes: = Net::DAAP::Client Release Notes == 0.2.0 Net::DAAP::Client has a newer, extended interface. In addition to the song list that the database already contained, there is now a list of artists and a list of albums that you can access from the database. The artists contain all of the albums associated with that artists, and each album has all the songs for that album. Each artist contains all songs by that artist as well. For example, to access all songs by one artist, one could do this: db.artists.find { |a| a.name == 'Radiohead' '}.songs.each { |s| puts s.name } Or, to access all of Radiohead's albums, one could do this: db.artists.find { |a| a.name == 'Radiohead' '}.albums.each { |a| puts a.name } An exhaustive example can be seen in the EXAMPLES file. This version of Net::DAAP::Client relies on digest-m4p which can be obtained from the project page here[http://rubyforge.org/frs/?group_id=1155]. Unfortunately I can't get digest-m4p to build on Windows (I don't have a windows machine), so for now digest-m4p only works on Linux and OS X. Hopefully someone can send me a patch (hint hint). Also, because of a bug in RubyGems, digest-m4p cannot be released as a gem until I find a workaround, or the new version of RubyGems gets released.


Changes: == 0.2.0 * Added artists and albums objects * Added a logger * Fixed some syntax issues * Minor speed improvements * Added and updated unit tests