Commits
- 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
- Commit:
e5d4e9f73fbe66368cc588e02eccc6757ccdada2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add seek subcommand
- Commit:
2ddcfa406b99caba54c85f55c0b4294695fb2e05
- From:
- Omar Polo <op@omarpolo.com>
- Date:
mark ctl_* as static too
- Commit:
6a128dce90f5cfa1ff9201526fff0aecdf22671d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sort commands
- Commit:
d488e5a511ca54ed1ae8c0502b80e79e99215fd3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add missing initializers
meh, just to please the compiler. Global variables are guaranteed to
be zeroed so not specifying a value shouldn't matter, yet it complains.
- Commit:
dc12484b39eaa5dc5d853206cf08905ef29a93e8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
typo in 'repeat'
- Commit:
bdc8c4e0629b2e694e711b290be897f85e9ce08f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
print the duration and position
- Commit:
1b77ad485132dd80c7671fc8119cc0c6dc00d6e1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't loop indefinitely in ctl_connect
if the server fails to start for wathever reason, we end up looping in
ctl_connect indefinitely as we try to spawn the deamon (that dies) and
try to connect to it.
Add an arbitrary maximum number of retries before giving up.
Reported by sikmir in the GitHub issue #1, thanks!