Commits


use the -p flag in the save state example


rework `load' description


replace stdin/err with standard input/error


setsong in playlist_swap if the player is stopped


keep the current song if load input was generated by show -p `amused show -p' generates a listing in the form of song > current song song ... This adds an heuristic to `amused load' so that the current song can be set if it's prefixed by "> ". It's particularly useful when re-importing the state from a previous run.


reuse main_senderr


typo


mention in BUGS that it shouldn't look at file extension


don't crash when trying to play a directory with pledge(sendfd) we can't send a fd that represents a directory, so we have to check before and eventually skip.


sync dist list


switch from libmad to libmpg123 libmpg123 is more "loud" than libmad, at least for the mp3s that I have around. Is also newer and maintained. I've heard is also faster, but amused is so simple that it doesn't make any difference.


change the log debug string for player_setup now it includes all the params, not only the rate


fix player wrt unknown files


stray newline


always call playlist_dropcurrent after main_play_song failures otherwise we keep garbage in the playing queue.