Commits


typo in print_status: now it's mode, not repeat


fix 'amused load' with empty playlist it didn't send the IMSG_CTL_COMMIT final message so it would get stuck. This also makes 'amused flush' redundant since it's possible to 'amused load </dev/null'.


delete .d files produced by the tests


add DISTNAME variable like the one from bsd.port.mk, here it's used to decide the name of the tarball.


include contrib/ in the tarball


amused.1: minor tweaks


make the on|off argument to consume/repeat optional


define constants for mode special values and add a toggle value


amused-monitor: fix rounding round() rouds towards infinity, but for the line counting i need a round towards zero, the one provided by int()


amused.1: sort the events


amused-monitor: fix bug when window is taller than playlist adjust the index before reordering the entries, otherwise we may try to read out-of-bound because the reading loop wraps at $lines, not at $tmp size.


amused-monitor: support consume too (s/repeat/mode)


add consume mode the consume mode implicitly drops the tracks from the playlist when played 'till the end (note that skipping over a track doesn't trigger the consume mode - yet?)


amused.1: misc tweaks


drop restart from the list of 'status-like' commands now it's an alias for 'seek 0', so it doesn't return the status.