Commits


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.


pledge early This changed amused to pledge "stdio rpath" early in main() and then drop down to "stdio" in ctlaction, by removing the pledge call in parse. Simplifies a bit the logic and runs more code under pledge.


include unistd.h for close spotted on aarch64/glibc


improve 'amused monitor' documentation