Commits
Commit:
8fe5c145b7cb6f01571145e54b34e9d8af216e5e
Author:
Omar Polo <op@omarpolo.com>
Date:
Thu Feb 24 18:45:27 2022 UTC
typo
Commit:
81a49db160b69a85b56b0dfa61ef58b516112786
Author:
Omar Polo <op@omarpolo.com>
Date:
Thu Feb 24 18:44:57 2022 UTC
mention in BUGS that it shouldn't look at file extension
Commit:
dfe2ad9662a4763c47a79b3f907e4d33c6d3536d
Author:
Omar Polo <op@omarpolo.com>
Date:
Thu Feb 24 08:26:56 2022 UTC
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
Author:
Omar Polo <op@omarpolo.com>
Date:
Wed Feb 23 22:40:45 2022 UTC
sync dist list
Commit:
0ea0da1e5c4ee818758feb8ef792fb882330792e
Author:
Omar Polo <op@omarpolo.com>
Date:
Wed Feb 23 22:38:30 2022 UTC
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.
Commit:
a728254f63b163e7690e40990d9e039506203eb9
Author:
Omar Polo <op@omarpolo.com>
Date:
Wed Feb 23 22:34:10 2022 UTC
change the log debug string for player_setup

now it includes all the params, not only the rate
Commit:
25cb72fb3fbbe1886355dcff1cec5950150bc40c
Author:
Omar Polo <op@omarpolo.com>
Date:
Tue Feb 22 12:41:47 2022 UTC
fix player wrt unknown files
Commit:
0fe5e233e3def36c9af6a9c9008ff0fdcbfe15ec
Author:
Omar Polo <op@omarpolo.com>
Date:
Tue Feb 22 12:20:37 2022 UTC
stray newline
Commit:
0be6c0b1527db99916ee74e3d879e9a8151ef5ad
Author:
Omar Polo <op@omarpolo.com>
Date:
Tue Feb 22 12:19:30 2022 UTC
always call playlist_dropcurrent after main_play_song failures

otherwise we keep garbage in the playing queue.
Commit:
601093db002025f856a835250585bc4d136ea068
Author:
Omar Polo <op@omarpolo.com>
Date:
Tue Feb 22 12:16:26 2022 UTC
unify IMSG_ERR and IMSG_EOF handling

IMSG_ERR needs a playlist_dropcurrent(), but otherwise is just the same
as IMSG_EOF: the current song ended and we need to move forward. To
unify, set current_song to NULL in playlist_dropcurrent, which make
sense since right after it we're not playing anything.
Commit:
a553fbed3ddcda1fee9838f6307fc2c6e19635db
Author:
Omar Polo <op@omarpolo.com>
Date:
Tue Feb 22 12:11:02 2022 UTC
move to the previous song in playlist_dropcurrent()

this avoids the player skipping two songs on failure.
Commit:
62f00244bc474d2032c0a88990f3c78fd1564cc7
Author:
Omar Polo <op@omarpolo.com>
Date:
Tue Feb 22 12:07:24 2022 UTC
remove siginfo handling

was useful for debugging but now ther's the `status' command for it.
Commit:
bf57ea432a00c403d4a1bda7eeb050d14ae18ab3
Author:
Omar Polo <op@omarpolo.com>
Date:
Tue Feb 22 12:06:15 2022 UTC
use the Ux macro for "UNIX"
Commit:
8b51cceec56ee5c563e21573ad546b68a48feb43
Author:
Omar Polo <op@omarpolo.com>
Date:
Tue Feb 22 09:45:11 2022 UTC
flush stdout after each monitor event

otherwise the output may get buffered by a pipe and it's not pretty.
Commit:
6b47a39f8abd2139a76aeeeceff8886ffab8aa30
Author:
Omar Polo <op@omarpolo.com>
Date:
Mon Feb 21 21:11:23 2022 UTC
add the `monitor' command
Omar Polo