On Tue, Oct 1, 2013 at 3:06 PM, Romain Beauxis <toots@rastageeks.org> wrote:
Hi Chris,2013/9/26 Chris Everest <chriseverest@gmail.com>

Thanks for the traces. Unfortunately, I don't see anything wrong with them.. What you see is that the file is downloaded with a .flac extension, that the flac decoder picks it up and that the taglib metadata decoder rejects it.

This is how it is supposed to happen, taglib is set to accept only mp3 files by default and the flac metadata decoder is supposed to decode the file's metadata.

What happens when you download the file manually and run liquidsoap -r /path/to/file.flac ?

Thanks,
Romain

Picking a random flac file, I download and initiate liquidsoap manually.  It seems to work fine.  And when adding to request.queue the first request resolves fine too.  It's the subsequent requests that get placed into the secondary queue that don't get resolve metadata until the request is prepared as the next track.

liquidsoap --debug -r /tmp/a69ebc873fd6466e7f5ba03e61200a838e4b4af1.flac
Request resolved.
title="Plastic"
temporary="false"
date="2003"
decoder="FLAC"
discnumber="1"
artist="Prefuse 73 feat. Diverse"
kind="{audio=0+;video=0+;midi=0+}"
rid="0"
tracktotal="23"
albumartist="Prefuse 73"
tracknumber="3"
initial_uri="/tmp/a69ebc873fd6466e7f5ba03e61200a838e4b4af1.flac"
label="Warp Records"
status="ready"
filename="/tmp/a69ebc873fd6466e7f5ba03e61200a838e4b4af1.flac"
album="One Word Extinguisher"
Computing duration: 164.65 sec.