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