Commits
- Commit:
1d6739509f8059b45ef1c1eb4f06d4596fc46984
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rework how the daemon is automatically spawned
The previous way introduce possible races if multiple `amused' instances
try to start the daemon.
The new approach is heavily lifted from how tmux does it, but with some
minor differences. If the initial connect fails we try to grab a lock
to safely execute the daemon only one time. In fact we try to connect
one more time even when we hold the lock because another instance can
grab the lock, start the daemon and release it between the failure of
connect and the first flock.
It also changes slightly how the program behaves and how the -d option
works. Now running `amused' without arguments is a synonym for `amused
status' and the -d option only works if no arguments were given and if
the daemon wasn't running.
- Commit:
494d8ca239824a4809e171c484f2a9518a0dc6a1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rework the smallest unique prefix sentence a bit
- Commit:
3e5c24652b547b2d61ef96a3fd3180cd84d7ddb8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
bump date
- Commit:
140010c2221bd1968dc7d659dc241e7d4fb27a26
- From:
- Omar Polo <op@omarpolo.com>
- Date:
point out that the regexp is case insensitive
- Commit:
19dc5a22a5a07d52ee06a9b5be55e34df9f9d454
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use the -p flag in the save state example
- Commit:
a1d30eacc0142a1fb654b266c9f0d6a62bca9093
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rework `load' description
- Commit:
161abbe5dd30b9034eec436362f607739a85029b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
replace stdin/err with standard input/error
- Commit:
7607911191b7e64b5da7a733b35befd275b2c76d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
setsong in playlist_swap if the player is stopped
- Commit:
3af9396383944c20699d5340bd000f7a5dafb387
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
0f5568cbed68c3c871f2ee9b4bbbe63490cc68b5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
reuse main_senderr
- Commit:
8fe5c145b7cb6f01571145e54b34e9d8af216e5e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
typo
- Commit:
81a49db160b69a85b56b0dfa61ef58b516112786
- From:
- Omar Polo <op@omarpolo.com>
- Date:
mention in BUGS that it shouldn't look at file extension
- Commit:
dfe2ad9662a4763c47a79b3f907e4d33c6d3536d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't crash when trying to play a directory
with pledge(sendfd) we can't send a fd that represents a directory,
so we have to check before and eventually skip.
- Commit:
c4a8987ff963246782c67693fba85acb5ad7b41e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync dist list
- Commit:
0ea0da1e5c4ee818758feb8ef792fb882330792e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
switch from libmad to libmpg123
libmpg123 is more "loud" than libmad, at least for the mp3s that I
have around. Is also newer and maintained. I've heard is also
faster, but amused is so simple that it doesn't make any difference.