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)


On Tue, Sep 24, 2013 at 7:03 PM, Romain Beauxis <[email protected]>wrote:

> Hi Chris,
>
> 2013/9/23 Chris Everest <[email protected]>:
> > Hello, I've been working with local files and pushing to my request.queue
> > for some time (using washtub).  I have a web-based queue editor that
> > displays the metadata of each request in the queue, so I can move/delete
> > requests in the queue.  Works great with local files.
> >
> > I'm converting to using rackspace cloud files and now I'm pushing URLs to
> > the request.queue.  I use conservative=true in my request. See below,
> but I
> > can only really get the next request in the queue to load metadata.  I
> would
> > like all (within reason) to load the metadata so I can see 'what song'
> I'm
> > editing in my web-based queue manager.
> >
> > I tried using annotate:  to push medata with the URL, but it won't load
> > those either.
> >
> > I've thought about a custom function to download the URLs, then load into
> > the queue so liquidsoap would treat as if it's a local file.
> >
> > Any advice?
>
> Remote requests should really resolve just as local files once
> downloaded so there might be something preventing those metadata from
> being resolved in the local downloaded file as well.
>
> Could you check the request.trace of one of those requests for us?
>
> 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=60133471&iu=/4140/ostg.clktrk
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>



-- 
Chris Everest
------------------------------------------------------------------------------
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=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to