Commit Briefs

Omar Polo

implement seeking

This adds the internal management of the seeking, as well as the decoder backends bits.


Omar Polo

bits, rate and channels are unsigned

match the struct sio_par



Omar Polo

improving error reporting

makes the player process optionally send back a string describing the failure to provide a better and more coincise error message. This turns the syslog message(s): amused: unknown file type amused: failed to play, skipping /home/op/pics/phos.jpg into: amused: unknown file type; skipping /home/op/pics/phos.jpg


Omar Polo

amused monitor: allow to pass a list of event as filter

it's easier / simpler for scripts to do $ amused monitor next,prev,jump rather than $ amused monitor | egrep --line-buffered 'next|prev|jump'



Omar Polo

change play_*() so that they return an integer

this will allow to remove the `got_stop' hack in player.c




Omar Polo

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.


Omar Polo

add the `monitor' command


Omar Polo

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.


Omar Polo

allow changing sample bit size



Omar Polo

add (and handle) cmd `repeat'