Commits

Commit:
801c4a4292aa76b16fcb13204bde322a27741a38
From:
Omar Polo <op@omarpolo.com>
Date:
Tue May 10 15:46:27 2022 UTC

CHANGES for 0.6

Commit:
072467856bbc068cc7b0a978ebf98fcdb9f03691
From:
Omar Polo <op@omarpolo.com>
Date:
Tue May 10 15:46:24 2022 UTC

fix version

Commit:
a6d90fb2a2388f8dac656580763603d3d5800862
From:
Omar Polo <op@omarpolo.com>
Date:
Tue May 10 15:28:34 2022 UTC

manpage tweaks

Commit:
5d86bc14239778053daa5c38c13f2a5c7d63a24c
From:
Omar Polo <op@omarpolo.com>
Date:
Tue May 10 15:04:48 2022 UTC

simplify main_send_player: data is always NULL

Commit:
a975dca965d92cd6af18a82629b597668e1d69d8
From:
Omar Polo <op@omarpolo.com>
Date:
Tue May 10 15:02:35 2022 UTC

don't send the song' path to the player process we're not relying anymore on the file extension, so this information is useless for the player.

Commit:
a7c21102d5a00f25af27b4f7ba894065aa28bb5f
From:
Omar Polo <op@omarpolo.com>
Date:
Tue May 10 14:50:08 2022 UTC

we have no bugs :)

Commit:
239029b61f575847650021a5b4904ed426a2e9e4
From:
Omar Polo <op@omarpolo.com>
Date:
Mon May 9 18:32:02 2022 UTC

don't call player_sendeof on IMSG_STOP the refactoring introduced this error where we call report an EOF upon IMSG_STOP, making the player infinitely loop.

Commit:
bf19b03e6400fa3a7573b0ba4fd057767f0adc22
From:
Omar Polo <op@omarpolo.com>
Date:
Mon May 9 16:56:50 2022 UTC

add a simple filetype detector instead of relying on file extension just a bit of "magic" :) Flac are easy, they always start with "fLaC". mp3 are weird because they either start with "ID3" (but this theoretically only ensures that's a tagged file, not an mp3) or 0xFF 0xFB. Ogg Opus should have a magic sequence "OpusHead" somewhere near the start of the file but also have the ogg' "OggS" magic bytes. I hope it's enough to distinguish between Ogg Opus and Vorbis. Another option would be to refactor play_oggvorbis/opus to not close the file on failure and try in cascade the play_* functions, but it's more complex and this solution seems to be enough.

Commit:
184600a89b139d44c106a366c351bee471185137
From:
Omar Polo <op@omarpolo.com>
Date:
Mon May 9 16:43:44 2022 UTC

don't leak file descriptor on player_playnext failure

Commit:
06412529c452e3c4c9df9a4fcc42c2ccecd8364b
From:
Omar Polo <op@omarpolo.com>
Date:
Mon May 9 16:41:04 2022 UTC

refactor player_playnext: return status code let the caller decide to call senderr or sendeof.

Commit:
f002c42a6d7c2ffeb20816a0638c7095d99e0468
From:
Omar Polo <op@omarpolo.com>
Date:
Mon May 9 15:47:35 2022 UTC

be slightly more informative on failures

Commit:
f474712b0a5c634ba652dd37eb674e996ed39a8d
From:
Omar Polo <op@omarpolo.com>
Date:
Mon May 9 15:47:35 2022 UTC

use the standard Ds width for the options listing

Commit:
1fe59675359f3dad4621af22aa441b72a9277645
From:
Omar Polo <op@omarpolo.com>
Date:
Mon May 9 15:47:35 2022 UTC

we're on -current now

Commit:
4c4a91b4329698fb30f125e380c7817bc346f63f
From:
Omar Polo <op@omarpolo.com>
Date:
Sat Mar 26 18:51:30 2022 UTC

amused 0.5 * unbreak opus and ogg vorbis * handle flacs with bps != 16 and/or channels != 2 * speed up `load' a lot (especially if over NFS)

Commit:
d51201063dfd08d55382bc1848cee7f4662f504b
From:
Omar Polo <op@omarpolo.com>
Date:
Sat Mar 26 18:51:30 2022 UTC

add back missing memzero