pod update
[audio-mpd.git] / Changes
blob80f367c5ca44e498a5f868554500b8a97a8acb91
1 High-level changelog
2 ====================
4 0.19.x  possibility to change connection scheme
5 0.18.x  using common classes in audio::mpd::common
6 0.17.x  introducing AM::Playlist + AM::Time
7 0.16.x  utf-8 support + introducing mpd-dynamic script
8 0.15.x  introducing AM::Collection
9 0.14.x  introducing AM::Items
10 0.13.x  rewrote connection mechanism
11 0.12.4  adoption by jerome quelin & quick fixes
12 0.12.0  adoption by nicholas j humphrey & first release on cpan
13 0.10.0  adapting to evolving mpd
14 [...]   ? (no information)
15 0.1.0   initial release by tue abrahamsen
19 Low-level changelog
20 ===================
22 0.19.4 Sat Aug 16 10:38:12 CEST 2008
23  - doc update
24  - listing mpd-dynamic script prereqs as module prereqs
26 0.19.3 Tue Aug 12 19:04:23 CEST 2008
27  - version() reports *protocol* version, not real mpd version
28  - fix some tests that failed because of detection method not precise
29    enough (timing issues)
31 0.19.2 Tue Jun 17 19:24:16 CEST 2008
32  - mpd-dynamic should lookup ratings with utf8 encoded pathes
34 0.19.1 Mon Dec  3 18:23:58 CET 2007
35  - new method all_playlists() (courtesy of Joey Hess)
36  - fix for filenames / playlists beginning with a space (courtesy of
37    Joey Hess)
39 0.19.0 Thu Nov 29 20:10:18 CET 2007
40  - changed constructor api: using a hash for options instead of
41    positional paraemters
42  - new conntype param for constructor to change the way connection is
43    handled
44  - MPD_HOST env var supports password@host
45  - mpd-dynamic daemonizes after mpd connection to trap problems
49 0.18.3 Mon Nov 26 12:51:40 CET 2007
50  - kwalitee/cpants release
52 0.18.2 Tue Nov 13 20:20:59 CET 2007
53  - fixing bug 29232 (courtesy of David Bitseff)
55 0.18.1 Thu May 31 20:57:47 CEST 2007
56  - fixing mantis bug #556: support for multiple $path in playlist->add
58 0.18.0 Wed May 30 12:29:11 CEST 2007
59  - moved to perl license
60  - using common classes outsourced in audio::mpd::common, namely: item*,
61    stats, status and time.
62  - new methods AM::Collection::all_songs()
66 0.17.2 Sun Apr  8 15:35:43 CEST 2007
67  - introducing AM::Stats for better encapsulation
69 0.17.1 Sun Apr  8 12:23:53 CEST 2007
70  - introducing AM::Time for better encapsulation
71  - thus, removed get_time_info() and get_time_format()
72  - test coverage up to 100% \o/
74 0.17.0 Fri Apr  6 16:54:07 CEST 2007
75  - introducing AM::Playlist for better segregation of playlist handling
76  - completed tests to cover all playlist operations, AM is now 95.1% covered
80 0.16.2 Tue Apr  3 19:02:29 CEST 2007
81  - utf-8 support generalized
83 0.16.1 Mon Apr  2 18:26:17 CEST 2007
84  - new internal _cooked_command_*() methods, allowing for better code
85    factorization - and thus, better code coverage (100% achieved for
86    am::collection, 89.3% overall)
88 0.16.0 Thu Mar 29 19:04:34 CEST 2007
89  - script to listen your music endlessly: mpd-dynamic
91  **
93 0.15.4 Tue Mar 27 18:42:58 CEST 2007
94  - AM::Test more robust regarding fake mpd startup
95  - AM::Test quicker if no tests performed
96  - new methods in AM::Collection:
97     . songs_with_filename_partial()
98     . songs_by_artist_partial()
99     . songs_from_album_partial()
100     . songs_with_title_partial()
102 0.15.3 Wed Mar 21 18:08:06 CET 2007
103  - requiring perl 5.8.x minimum
105 0.15.2 Tue Mar 20 17:24:59 CET 2007
106  - fixed bug #25553 (on rt.cpan.org)
108 0.15.1 Sun Mar 18 19:06:57 CET 2007
109  - added Readonly as prereq
111 0.15.0 Sat Mar 17 17:49:50 CET 2007
112  - implementation of Audio::MPD::Collection: this class will act as the entry
113    point to look up in mpd's collection
114  - thus, following AM methods removed (see AM::Collection for the replacement):
115    . list()
116    . listall()
117    . listallinfo()
118    . lsinfo()
119    . search()
120    . searchadd()
121  - now that AM::Collection is here, AM's test coverage is up to 82.5% \o/
125 0.14.0 Sat Mar 17 13:29:57 CET 2007
126  - implementation of Audio::MPD::Item: instead of returning some random hash
127    reference, Audio::MPD now returns AMI objects.
128  - renamed methods:
129    . get_current_song()      -> current()
130    . get_song_info()         -> song()
131    . get_song_info_from_id() -> songid()
132    . get_title()             -> AMI::Song::as_string()
133    . pl_changes()            -> pl_changes()
134  - pl_changes() now return an array ref instead of a hash with positions as key
135  - test coverage of Audio::MPD up to 66.5%
139 0.13.5 Thu Mar  8 20:22:32 CET 2007
140  - get_urlhandlers() renamed to urlhandlers()
141  - seekid() defaults to current song
142  - pod enhancement
143  - test coverage of Audio::MPD up to 36.1%
145 0.13.4 Tue Mar  6 20:05:21 CET 2007
146  - new method password() to change mpd password
147  - bug fix in deleteid() (was issuing "delete") and crop() (should be done in
148    reverse order to keep mpd happy)
149  - test coverage of Audio::MPD up to 36.1%
151 0.13.3 Sun Mar  4 19:30:24 CET 2007
152  - bug fix on volume() method
154 0.13.2 Sun Mar  4 10:17:50 CET 2007
155  - Makefile.PL now uses ExtUtils::MakeMaker instead of perverting Module::Builder
156  - bugfix in play() / playid()
157  - testing Audio::MPD::Status up to 100%
158  - testing Audio::MPD = 24.5%
160 0.13.1
161  - status() now returns an Audio::MPD::Status object, for better encapsulation
162  - added dependancy on Class::Accessor
164 0.13.0 Fri Mar  2 12:55:38 CET 2007
165  - connection completely reworked to get rid of the most obvious problems
166    note: this does not mean that we're completely clean, but at least it's
167          better than what it was.
168  - is_connected() and close_connection() are no more needed, and thus removed
169  - error handling is now done via die - get_error() is gone
170  - play(), delete(), move(), get_song_info(), seek() & swap() do not accept a
171    third fromid parameter anymore
172  - pause() now toggle pause status if no parameter is sent
173  - renamed methods:
174     . kill_mpd()           -> kill()
175     . get_server_version() -> version()
176     . set_fade()           -> fade()
177     . set_random()         -> random()
178     . set_repeat()         -> repeat()
179     . set_volume()         -> volume()
180  - new methods: stats(), status()
181  - delete() and deleteid() can take more than one song to delete
185 0.12.4 Thu Jan 25 21:52:05 CET 2007 [JQ]
186  - grouped pod in sections for easier reading
187  - corrected pod typos here and there
188  - added contact information
189  - new tests for pod correctness and pod coverage
190  - added missing pod for 3 subs
192 0.12.3 (Nicholas J Humfrey)
193  - Added Makefile.PL support
195 0.12.2 (Nicholas J Humfrey)
196  - Fixed bug in parsing parmeters in pause()
198 0.12.0-rc7+njh (Nicholas J Humfrey)
199  - Moved $sock and @playlists into object so that you can talk to
200    multiple MPDs in the same script.
201  - Added Module::Build based build/install system
202  - Changed namespace to Audio::MPD so that it can be added to CPAN
203  - Documented class
204  - Changing 'END' handler to 'DESTROY'
205  - Changed <$sock> to $sock->getline
206  - Changed print $sock "foo" to $sock->print("foo")
207  - Corrected pause() so that it didn't use depricated lack of argument
208  - Added optional path parameter to updatedb()
210 0.12.0-rc7
211  - better password-handling, including possibility to connect to
212  password@mpdhost (William Pettersson)
213  - made get_time_info work, and added more to the output
214  - made ALLOW_TOGGLE_STATES 1 by default
216 0.12.0-rc6
217  - get_song_info() now uses current song, if none is specified
218  - mpc.pl now says that 'seek' is in seconds instead of percentage
219  - Fixed bug in close()
220  - Removed warn() in _get_playlist()
221  - Made MPD.pm more backwards compatible (Martin Stolle)
222  - Added get_current_song_info() (Martin Stolle)
223  - Made internal sub _process_feedback() more robust (Martin Stolle)
224  - Update get_title() to be more flexible (Martin Stolle)
226 0.12.0-rc5 (No more fires!-release)
227  - Fixed bug in save() (Laurent Monrouzies)
228  - Removed annoying line in set_random() (Dale Francum)
229  - Added get_time_info (Thanks Dale Francum)
230  - Removed 'use Data::Dumper;' from mpc.pl and MPD.pm
231  - Added support for new MPD-functions:
232  'outputs', 'enableoutputs', 'disableoutputs', 'commands' and 'notcommands'
233  - Fixed bug in get_title() where old title would get returned
234  - Fixed bug where playlist was not updated (hannes)
235  - Added playlist_changes() so clients can update their playlist (hannes)
236  - Updated _get_playlist() (hannes)
238 0.12.0-rc4
239  - Old bug where $playlist[0] contained undef removed again :)
240  - crop() function added (removes all songs but the playing)
241  - Fixed some bugs and errorhandling in mpc.pl
243 0.12.0-rc3
244  - (almost) total rewrite of module
246 0.12.0-rc2
247  - Changed default port to 6600
248  - Removed UNPAUSE_ON_PLAY setting, as this is now default in MPD
249  - Added urlhandlers()
250  - Fixed seek()
251  - Small bugfixes
252  - Bugfixes in mpc.pl (playlist() and volume())
253  - Updated ACK-error handling (geterror() changed, seterror() added)
254  - Add 'plchanges'-support in getplaylist()
255  - Added $config{'ALLOW_TOGGLE_STATES'}
256  - Added deleteid() / moveid() / playid() / seekid() / swapid()
257  - Removed deprecated 'unpause-on-play'-code
261 0.10.0-rc1
262  - No changes
264 0.10.0-alpha7
265  - Major speedup. Playlist was fetched way too many times
266  - Another major speedup. Playlist is now only fetched when needed!
267  - Added %config, for changing default behavior
268  - Old $number-- in play() was removed.
269  - Stupid bug where last song was not saved in @playlist removed
270  - Rewrote searchadd() to utilize 'command_list_begin'/'command_list_end'
271    (Much faster now)
272  - Fixed bug where search() didn't return the last song found
273  - Small rewrite in setrepeat() and setrandom()
274  - Typos
275  - Fixed bugs and bugs and bugs and bugs
276  - Added a destructor
277  - Rewrote all pod-documentation
278  - Tabindented all
279  - Removed 'unfinished subs' and 'todo'
280  - Probably more stuff
282 0.10.0-alpha6
283  - Changed @playlist syntax ($pl[song-number]{info-to-get} eg. $pl[42]{'file'})
284  - Removed deprecated getsonginfo()
285  - Moved gettitle() and gettimeformat() to 'Custom subs'
286  - Altered gettitle()'s errorhandling a bit
288 0.10.0-alpha5
289  - Made getsonginfo() return a hash instead of an array
290  - Streamlined add()/delete()/move()/swap()
291  - Made (almost) all functions undef on succes and 1 on error. Last error can
292    be retrieved by $self->geterror()
293  - search() now accepts filenames too (thanks sbh)
294  - delete() can take ranges (thanks sbh)
295  - Added the 'Custom functions'-part
296  - Added searchadd() (thanks sbh)
297  - Repaired add()
298  - Added playlist()
300 0.10.0-alpha4
301  - Fixed bug where last song on playlist was not present
302  - Made getstatus() call playlistinfo if playlist had changed
303  - Implemented getsonginfo() for returning information from @playlist (Thanks msells)
304  - Added $self->{module_version}
305  - Empties @playlist, when renewing it
306  - A bit of optimizing and cleanup around getplaylist (Thanks msells)
308 0.10.0-alpha3
309  - Fixed error in add()-comments
310  - Moved $host and $port parameter to new() - It finally works!
312 0.10.0-alpha2
313  - Added nextinfo() and changed lsinfo() and listallinfo()
314  - Changed version-numbering to fit MPD standards
319  - Initial release