daapclient 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. data/CHANGELOG +36 -0
  2. data/EXAMPLES +79 -0
  3. data/LICENSE +340 -0
  4. data/NOTES +33 -0
  5. data/README +7 -31
  6. data/lib/net/daap.rb +34 -20
  7. data/lib/net/daap/album.rb +16 -0
  8. data/lib/net/daap/artist.rb +16 -0
  9. data/lib/net/daap/daap_version.rb +7 -0
  10. data/lib/net/daap/database.rb +54 -27
  11. data/lib/net/daap/dmap.rb +13 -24
  12. data/lib/net/daap/playlist.rb +4 -5
  13. data/lib/net/daap/song.rb +10 -8
  14. data/test/data/mt-daapd/02dd88de4b3a69c74bcc56c1acca9ae5.txt +0 -0
  15. data/test/data/mt-daapd/0de583b288d8ae30f89acb26d4c8535b.txt +0 -0
  16. data/test/data/mt-daapd/4146ec82a0f0a638db9293a0c2039e6b.txt +0 -0
  17. data/test/data/mt-daapd/51a2a6f2a53743bec7e79fe0d074dd28.txt +0 -0
  18. data/test/data/mt-daapd/6069971903eef3c8c71ec2c7b395bfeb.txt +0 -0
  19. data/test/data/mt-daapd/{e9a8e709c2116651157182f130207048.txt → 7102a16e834342b8264f1fb5226690e5.txt} +0 -0
  20. data/test/data/mt-daapd/9d29fb31969da7757fa2f4baa3a52fe9.txt +0 -0
  21. data/test/data/mt-daapd/a52dd33cc99471cc156528c06b22e709.txt +0 -0
  22. data/test/data/mt-daapd/a600829e59b3d719b32f25323a2719b0.txt +0 -0
  23. data/test/data/mt-daapd/e2552df8d742fe31d6cc6e1e41e496b3.txt +0 -0
  24. data/test/data/mt-daapd/fc631aa54b83344df9ccf1fbaa7684b0.txt +0 -0
  25. data/test/data/song_data.txt +0 -0
  26. data/test/data/song_structure.txt +209 -0
  27. data/test/mock_server.rb +56 -0
  28. data/test/server_saver.rb +31 -0
  29. data/test/tc_artists.rb +33 -0
  30. data/test/tc_client.rb +47 -116
  31. data/test/tc_download.rb +29 -0
  32. data/test/tc_playlist.rb +37 -0
  33. data/test/tc_protocol.rb +3 -0
  34. data/test/test_daap.rb +23 -0
  35. data/test/ts_daap.rb +7 -0
  36. metadata +41 -97
  37. data/doc/classes/Net.html +0 -127
  38. data/doc/classes/Net/DAAP.html +0 -168
  39. data/doc/classes/Net/DAAP/Client.html +0 -269
  40. data/doc/classes/Net/DAAP/Client.src/M000003.html +0 -20
  41. data/doc/classes/Net/DAAP/Client.src/M000004.html +0 -28
  42. data/doc/classes/Net/DAAP/Client.src/M000005.html +0 -33
  43. data/doc/classes/Net/DAAP/Client.src/M000006.html +0 -37
  44. data/doc/classes/Net/DAAP/Client.src/M000007.html +0 -20
  45. data/doc/classes/Net/DAAP/Client.src/M000008.html +0 -24
  46. data/doc/classes/Net/DAAP/Client.src/M000009.html +0 -18
  47. data/doc/classes/Net/DAAP/DAAPv2.html +0 -165
  48. data/doc/classes/Net/DAAP/DAAPv2.src/M000016.html +0 -30
  49. data/doc/classes/Net/DAAP/DAAPv2.src/M000017.html +0 -21
  50. data/doc/classes/Net/DAAP/DAAPv3.html +0 -178
  51. data/doc/classes/Net/DAAP/DAAPv3.src/M000018.html +0 -30
  52. data/doc/classes/Net/DAAP/DAAPv3.src/M000019.html +0 -23
  53. data/doc/classes/Net/DAAP/DMAP.html +0 -176
  54. data/doc/classes/Net/DAAP/DMAP.src/M000013.html +0 -20
  55. data/doc/classes/Net/DAAP/DMAP.src/M000014.html +0 -18
  56. data/doc/classes/Net/DAAP/DMAP.src/M000015.html +0 -24
  57. data/doc/classes/Net/DAAP/Database.html +0 -224
  58. data/doc/classes/Net/DAAP/Database.src/M000010.html +0 -25
  59. data/doc/classes/Net/DAAP/Database.src/M000011.html +0 -21
  60. data/doc/classes/Net/DAAP/Database.src/M000012.html +0 -35
  61. data/doc/classes/Net/DAAP/Playlist.html +0 -192
  62. data/doc/classes/Net/DAAP/Playlist.src/M000001.html +0 -24
  63. data/doc/classes/Net/DAAP/Playlist.src/M000002.html +0 -30
  64. data/doc/classes/Net/DAAP/Song.html +0 -208
  65. data/doc/classes/Net/DAAP/Song.src/M000020.html +0 -27
  66. data/doc/classes/Net/DAAP/Song.src/M000021.html +0 -19
  67. data/doc/created.rid +0 -1
  68. data/doc/files/CHANGELOG.html +0 -134
  69. data/doc/files/LICENSE.html +0 -531
  70. data/doc/files/README.html +0 -182
  71. data/doc/files/lib/net/daap/database_rb.html +0 -101
  72. data/doc/files/lib/net/daap/dmap_rb.html +0 -101
  73. data/doc/files/lib/net/daap/playlist_rb.html +0 -101
  74. data/doc/files/lib/net/daap/song_rb.html +0 -101
  75. data/doc/files/lib/net/daap_rb.html +0 -114
  76. data/doc/fr_class_index.html +0 -35
  77. data/doc/fr_file_index.html +0 -34
  78. data/doc/fr_method_index.html +0 -47
  79. data/doc/index.html +0 -24
  80. data/doc/rdoc-style.css +0 -208
  81. data/lib/CVS/Entries +0 -1
  82. data/lib/CVS/Repository +0 -1
  83. data/lib/CVS/Root +0 -1
  84. data/lib/net/CVS/Entries +0 -2
  85. data/lib/net/CVS/Repository +0 -1
  86. data/lib/net/CVS/Root +0 -1
  87. data/lib/net/daap/CVS/Entries +0 -5
  88. data/lib/net/daap/CVS/Repository +0 -1
  89. data/lib/net/daap/CVS/Root +0 -1
  90. data/test/CVS/Entries +0 -4
  91. data/test/CVS/Repository +0 -1
  92. data/test/CVS/Root +0 -1
  93. data/test/data/CVS/Entries +0 -1
  94. data/test/data/CVS/Repository +0 -1
  95. data/test/data/CVS/Root +0 -1
  96. data/test/data/mt-daapd/079aca35773150da9fd98db10c7fd0c0.txt +0 -0
  97. data/test/data/mt-daapd/2972f65088b42a06b5d3ca089d71791d.txt +0 -0
  98. data/test/data/mt-daapd/440c2217e6207c54c317c296f71f9769.txt +0 -0
  99. data/test/data/mt-daapd/4d1ce9f941cbd823ed06f1f1baa5a3b9.txt +0 -0
  100. data/test/data/mt-daapd/7bded8b540fd082f102d25e181b47bc4.txt +0 -0
  101. data/test/data/mt-daapd/CVS/Entries +0 -11
  102. data/test/data/mt-daapd/CVS/Repository +0 -1
  103. data/test/data/mt-daapd/CVS/Root +0 -1
  104. data/test/data/mt-daapd/b3e894b87111bdba88e4765967f4b45a.txt +0 -0
  105. data/test/data/mt-daapd/d56b699830e77ba53855679cb1d252da.txt +0 -0
  106. data/test/data/mt-daapd/e61ce3062cb76770658896b778ad06cd.txt +0 -0
  107. data/test/data/mt-daapd/f9073959a0afacebfab7e3bf19c2714a.txt +0 -0
data/lib/CVS/Entries DELETED
@@ -1 +0,0 @@
1
- D/net////
data/lib/CVS/Repository DELETED
@@ -1 +0,0 @@
1
- daap/lib
data/lib/CVS/Root DELETED
@@ -1 +0,0 @@
1
- :ext:aaronp@rubyforge.org:/var/cvs/daapclient
data/lib/net/CVS/Entries DELETED
@@ -1,2 +0,0 @@
1
- D/daap////
2
- /daap.rb/1.3/Fri Dec 16 21:10:11 2005//
@@ -1 +0,0 @@
1
- daap/lib/net
data/lib/net/CVS/Root DELETED
@@ -1 +0,0 @@
1
- :ext:aaronp@rubyforge.org:/var/cvs/daapclient
@@ -1,5 +0,0 @@
1
- /database.rb/1.1.1.1/Wed Dec 7 23:25:52 2005//
2
- /playlist.rb/1.1.1.1/Wed Dec 7 23:25:52 2005//
3
- /dmap.rb/1.2/Fri Dec 9 22:45:05 2005//
4
- /song.rb/1.2/Fri Dec 16 21:10:11 2005//
5
- D
@@ -1 +0,0 @@
1
- daap/lib/net/daap
@@ -1 +0,0 @@
1
- :ext:aaronp@rubyforge.org:/var/cvs/daapclient
data/test/CVS/Entries DELETED
@@ -1,4 +0,0 @@
1
- /tc_client.rb/1.1.1.1/Wed Dec 7 23:25:52 2005//
2
- /tc_protocol.rb/1.1.1.1/Wed Dec 7 23:25:52 2005//
3
- /ts_daap.rb/1.1.1.1/Wed Dec 7 23:25:52 2005//
4
- D/data////
data/test/CVS/Repository DELETED
@@ -1 +0,0 @@
1
- daap/test
data/test/CVS/Root DELETED
@@ -1 +0,0 @@
1
- :ext:aaronp@rubyforge.org:/var/cvs/daapclient
@@ -1 +0,0 @@
1
- D/mt-daapd////
@@ -1 +0,0 @@
1
- daap/test/data
data/test/data/CVS/Root DELETED
@@ -1 +0,0 @@
1
- :ext:aaronp@rubyforge.org:/var/cvs/daapclient
@@ -1,11 +0,0 @@
1
- /079aca35773150da9fd98db10c7fd0c0.txt/1.1.1.1/Wed Dec 7 23:25:52 2005//
2
- /2972f65088b42a06b5d3ca089d71791d.txt/1.1.1.1/Wed Dec 7 23:25:52 2005//
3
- /440c2217e6207c54c317c296f71f9769.txt/1.1.1.1/Wed Dec 7 23:25:52 2005//
4
- /4d1ce9f941cbd823ed06f1f1baa5a3b9.txt/1.1.1.1/Wed Dec 7 23:25:52 2005//
5
- /7bded8b540fd082f102d25e181b47bc4.txt/1.1.1.1/Wed Dec 7 23:25:52 2005//
6
- /b3e894b87111bdba88e4765967f4b45a.txt/1.1.1.1/Wed Dec 7 23:25:52 2005//
7
- /d56b699830e77ba53855679cb1d252da.txt/1.1.1.1/Wed Dec 7 23:25:52 2005//
8
- /e61ce3062cb76770658896b778ad06cd.txt/1.1.1.1/Wed Dec 7 23:25:52 2005//
9
- /e9a8e709c2116651157182f130207048.txt/1.1.1.1/Wed Dec 7 23:25:52 2005//
10
- /f9073959a0afacebfab7e3bf19c2714a.txt/1.1.1.1/Wed Dec 7 23:25:52 2005//
11
- D
@@ -1 +0,0 @@
1
- daap/test/data/mt-daapd
@@ -1 +0,0 @@
1
- :ext:aaronp@rubyforge.org:/var/cvs/daapclient