listen.el icon indicating copy to clipboard operation
listen.el copied to clipboard

Cannot add FLAC files to queue but listen.el can still play them when playing directory directly

Open MrKorner opened this issue 1 year ago • 3 comments

Issue is trying to add files to queue using listen-queue-add-files listen-queue-tracks-for: (error "Invalid FLAC stream"). However making listen play directory with listen-play will still play files just fine and there are no other issues with the program.

Version of emacs: package emacs-gtk 29.4 on nixos Version of listen.el 0.9 using VLC 3.0.21 as backend All the tracks are FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 11532811 samples

MrKorner avatar Nov 03 '24 11:11 MrKorner

Hello,

I haven't any FLAC files to test with. If something is reporting that a specific FLAC file is invalid, it might require that file to reproduce the problem. Can you make a FLAC file from some FLOSS audio file that produces the same error, and send it to me?

alphapapa avatar Nov 03 '24 19:11 alphapapa

I have had issues finding FLOSS flac tracks around the internet but i have been able to make this 5 second sample that reproduces the issue. EDIT: other flac files not from that album sample is from do seem to work, some are freely available as such from here https://lophi.bandcamp.com/album/vintage-story-ost for refference sample.tar.gz

MrKorner avatar Nov 04 '24 15:11 MrKorner

Well, I added that sample FLAC file to a queue and seem to be able to play it without error (though there appears to be no audible sound in that sample). Please enable debug-on-error and then provide a complete recipe to reproduce the problem, as well as the backtrace when the error happens.

alphapapa avatar Nov 05 '24 01:11 alphapapa