Commits


simplify main_send_player: data is always NULL


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 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.


add (and handle) cmd `repeat'


use fd instead of pid for tx locking c->iev.ibuf.pid is our pid, not sure why, but fd is just as well as easier to use.


add `jump' subcommand to play the first matching


add IMSG_CTL_BEGIN/COMMIT to load a playlist in a transaction


implement main_playlist_resume to resume after stop


fix state after `stop'


implement `load' command


add next and prev command


add status subcommand


fix `toggle' subcommand


fix show command


introduce some helpers to simplify playlist management