Hi Chris,2013/9/26 Chris Everest <[email protected]>
>
> Yep, Here's some of the request.trace output.  I pushed a few songs.  You
can see the rid that resolve immediately in the primary queue, but
secondary queue doesn't resolve.  I suppose i'm looking for the secondary
queue to resolve so I can see my queue metadata.
>
> Type "help <command>" for more information.
> END
> request.trace 5
> [2013/09/27 02:27:50] Pushed ["
http://vinylproject.cloud.goodfunction.net/mediapool/stream_liquidsoap/a2586c4a5f33098eae8fe9c72d7d25e26a3aba1d.flac
";...].
> [2013/09/27 02:27:50] Entering the secondary queue.
> [2013/09/27 02:27:50] Entering the primary queue.
> [2013/09/27 02:27:50] Resolving "
http://vinylproject.cloud.goodfunction.net/mediapool/stream_liquidsoap/a2586c4a5f33098eae8fe9c72d7d25e26a3aba1d.flac";
(timeout 60s)...
> [2013/09/27 02:27:56] Pushed ["/tmp/liq8893cd.flac";...].
> END
> request.trace 6
> [2013/09/27 02:28:10] Pushed ["
http://vinylproject.cloud.goodfunction.net/mediapool/stream_liquidsoap/5702aa2d176991682efdae4929ec5ee4de696a6b.mp3
";...].
> [2013/09/27 02:28:10] Entering the secondary queue.
> END
> request.trace 4
> [2013/09/27 02:27:44] Pushed ["
http://vinylproject.cloud.goodfunction.net/mediapool/stream_liquidsoap/4317b94f4bf03cf4e438d851dc382190bb5e6811.flac
";...].
> [2013/09/27 02:27:44] Entering the secondary queue.
> [2013/09/27 02:27:44] Entering the primary queue.
> [2013/09/27 02:27:44] Resolving "
http://vinylproject.cloud.goodfunction.net/mediapool/stream_liquidsoap/4317b94f4bf03cf4e438d851dc382190bb5e6811.flac";
(timeout 60s)...
> [2013/09/27 02:27:50] Pushed ["/tmp/liq9bc8c5.flac";...].
> [2013/09/27 02:27:50] Currently on air.
> END
>
>
> Then, here's the liquidsoap.log where you can see some of the resolving
failing with invalid extension and invalid mimetype.  I'm passing the
content-type headers for mpeg and flac from the web server for the urls.
>
> 2013/09/27 02:27:50 [vinylproject_log:4] Got metadata at position 0:
calling handler...
> 2013/09/27 02:27:50 [protocols.external:4] Executing /usr/bin/wget "
http://vinylproject.cloud.goodfunction.net/mediapool/stream_liquidsoap/a2586c4a5f33098eae8fe9c72d7d25e26a3aba1d.flac";
"/tmp/liq8893cd.flac"
> 2013/09/27 02:27:50 [stderr:3]   % Total    % Received % Xferd  Average
Speed   Time    Time     Time  Current
> 2013/09/27 02:27:50 [stderr:3]                                  Dload
 Upload   Total   Spent    Left  Speed
>   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
    0
> 2013/09/27 02:27:51 [ogg.muxer:4] vp-beta(dot)ogg: Setting end of track
347fbb21.
> 2013/09/27 02:27:51 [ogg.muxer:4] vp-beta(dot)ogg: Every ogg logical
tracks have ended: setting end of stream.
> 2013/09/27 02:27:51 [ogg.muxer:4] vp-beta(dot)ogg: Starting new
sequentialized ogg stream.
> 2013/09/27 02:27:51 [ogg.muxer:4] vp-beta(dot)ogg: Starting all streams
> 2013/09/27 02:27:56 [protocols.external:4] Download process finished (ok)
> 2013/09/27 02:27:56 [decoder:4] Trying method "META" for
"/tmp/liq8893cd.flac"...
> 2013/09/27 02:27:56 [decoder:4] Trying method "WAV" for
"/tmp/liq8893cd.flac"...
> 2013/09/27 02:27:56 [decoder.wav:4] Invalid MIME type for
"/tmp/liq8893cd.flac": audio/x-flac!
> 2013/09/27 02:27:56 [decoder.wav:4] Invalid file extension for
"/tmp/liq8893cd.flac"!
> 2013/09/27 02:27:56 [decoder:4] Trying method "MIDI" for
"/tmp/liq8893cd.flac"...
> 2013/09/27 02:27:56 [decoder:4] Trying method "IMAGE" for
"/tmp/liq8893cd.flac"...
> 2013/09/27 02:27:56 [decoder:4] Trying method "FLAC" for
"/tmp/liq8893cd.flac"...
> 2013/09/27 02:27:56 [decoder.flac:4] Libflac recognizes
"/tmp/liq8893cd.flac" as FLAC (44100Hz,2 channels).
> 2013/09/27 02:27:56 [decoder:3] Method "FLAC" accepted
"/tmp/liq8893cd.flac".
> 2013/09/27 02:27:56 [decoder.ogg:4] Invalid MIME type for
"/tmp/liq8893cd.flac": audio/x-flac!
> 2013/09/27 02:27:56 [decoder.ogg:4] Invalid file extension for
"/tmp/liq8893cd.flac"!
> 2013/09/27 02:27:56 [decoder.taglib:4] Invalid MIME type for
"/tmp/liq8893cd.flac": audio/x-flac!
> 2013/09/27 02:27:56 [decoder.taglib:4] Invalid file extension for
"/tmp/liq8893cd.flac"!
> 2013/09/27 02:27:56 [decoder.taglib:4] Error while decoding file tags:
Invalid file
> 2013/09/27 02:27:56 [decoder.taglib:4] Backtrace:
> Raised at file "hashtbl.ml", line 118, characters 14-23
> Called from file "hashtbl.ml", line 122, characters 24-43
> Called from file "hashtbl.ml", line 126, characters 18-34
>
> 2013/09/27 02:27:56 [request:4] Remaining: 215.6s, queued: 0.0s, adding:
30.0s (RID 5)

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
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to