Commits
- Commit:
b72c076563d1642eda3aaa0c38169b674e3d9725
- From:
- Omar Polo <op@omarpolo.com>
- Date:
print the current modes after 'amused consume/repeat'
- Commit:
e08b784c411c8c5c9e905106d00e1352f102c893
- From:
- Omar Polo <op@omarpolo.com>
- Date:
typo in print_status: now it's mode, not repeat
- Commit:
da2c6e07e7644d16ac2ed5b68a86e4bcf076655d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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'.
- Commit:
1eae758b91513b27c60d26c95197dce14d82e837
- From:
- Omar Polo <op@omarpolo.com>
- Date:
make the on|off argument to consume/repeat optional
- Commit:
9fb9424225a739a0fbbfec5d31f21458126fd9c2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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?)
- Commit:
b98c922e0b9c445b7a4c81ad678cb1ff8da0a3f0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop restart from the list of 'status-like' commands
now it's an alias for 'seek 0', so it doesn't return the status.
- Commit:
4b42d3a3f30acc64f6720bf33c8f6d695577bf74
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
232e682b2ba11ede150ba4d6468afc160a025d63
- From:
- Omar Polo <op@omarpolo.com>
- Date:
s/imsg_name/event_name
- Commit:
15aecb89d41f59ac375c7a2a2194ab7cddcaa020
- From:
- Omar Polo <op@omarpolo.com>
- Date:
monitor: fix reported event
rethink a bit which event are reported and when.
- drop 'toggle' event as it's not useful; now 'amused toggle' will
report the play/pause event.
- replace 'flush' with 'load'. there's no real difference between a
flush and an empty load. (also, less event the better)
- some events (next/prev/jump) are reported earlier to avoid possible
issues (when messing around with the playing queue we can end up in
every possible state.)
- report 'seek' only after it really happened (i.e. after the player
process sent the new position.) There's still a possible race here
(we can receive a previous IMSG_POS and think it's the reply to the
seek) but it it's hard/impossible to work around.
- drop 'restart'. we have 'seek' now which is better (and actually
restart is implemented on top of seek.)
- add 'seek' to the default list of events.
- Commit:
6576093aa0f0a23c584d95c79c03c4ea9a390aaa
- From:
- Omar Polo <op@omarpolo.com>
- Date:
initialize status_format early in the main()
otherwise we may leave it NULL (it's set only in ctl_status) and crash
in print_status.
- Commit:
68e4f29ee2b7e9e14d8cf147a938ab08a7397d3d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
allow to customize the output of amused status
This add a -f flag (that falls back to $AMUSED_STATUS_FORMAT) to
control which field to print and in which order.
- Commit:
071167edb6a4a25796081dbd918e3a9659131d72
- From:
- Omar Polo <op@omarpolo.com>
- Date:
seek: allow h:m:s notation and percentage
- Commit:
88519c7b1cbd117d1c85aafbd8df02d40cdf9b45
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add "seek" to monitor list of event
- Commit:
8d08767078347495fc28f6a97ad1e5e1b3b6f5f2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
reimplement `restart' on top of seek
- Commit:
f36fd90a2e6ab101692fba0fa643aec5035597cd
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use (a modified version of) kristaps' oconfigure
see GitHub issue #1