Commits


refactor the player_shouldstop/sio_write dance in a function


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.


add the `monitor' command


add a monitor functionality this pings all the "interesting" events to clients that issued a IMSG_CTL_MONITOR, except to the one that generated such event.


allow changing sample bit size


show repeat one/all status in `amused status' output


add (and handle) cmd `repeat'


handle eof wrt repeat_one


support setting the number of channels for flac and vorbis


add `jump' subcommand to play the first matching


change res->file to be a path instead of a FILE *


print the "> " prefix only if -p is given the prefix is nice to see, but can break the amused show | filters ... | amused load because sort(1), uniq(1) etc don't know how to strip the "> " and " " prefixes obviously.


add IMSG_CTL_BEGIN/COMMIT to load a playlist in a transaction


implement main_playlist_resume to resume after stop


implement `load' command