-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 great, thank you, I wasn't sure how it worked.
On 31/07/2011 20:47, Romain Beauxis wrote: > Hi! > > 2011/7/31 okay_awright <[email protected]>: >> I'm trying to get distant files to be played by request.dynamic(), via >> http, but it appears the auto-guessing file format method of the decoder >> is solely based on file extensions. And that's a problem, because, as >> you can see in the logs below, my files are not identified as genuine >> audio files. The server correctly gives the right mime type, and the >> downloaded files are proper MP3s. Is there any workaround for that? >> Should I play with add_metadata_resolver() in some way? >> >> 2011/07/31 15:03:04 [lang:3] play >> 'http://localhost:8084/ws/http/streamer/track/down?c=channel1&k=0215681688&i=02bb98fd866346ba9db0b1cec7707259' >> 2011/07/31 15:03:04 [protocols.external:4] Executing /usr/bin/wget >> "http://localhost:8084/ws/http/streamer/track/down?c=channel1&k=0215681688&i=02bb98fd866346ba9db0b1cec7707259" >> "/tmp/liqacef9e.osb" >> 2011/07/31 15:03:04 [protocols.external:4] Download process finished (ok) >> 2011/07/31 15:03:04 [decoder:4] Trying method "META" for >> "/tmp/liqacef9e.osb"... >> 2011/07/31 15:03:04 [decoder:4] Trying method "WAV" for >> "/tmp/liqacef9e.osb"... >> 2011/07/31 15:03:04 [decoder.wav:4] Invalid file extension for >> "/tmp/liqacef9e.osb"! >> 2011/07/31 15:03:04 [decoder:4] Trying method "MIDI" for >> "/tmp/liqacef9e.osb"... >> 2011/07/31 15:03:04 [decoder:4] Trying method "FLAC" for >> "/tmp/liqacef9e.osb"... >> 2011/07/31 15:03:04 [decoder.flac:4] Invalid file extension for >> "/tmp/liqacef9e.osb"! >> 2011/07/31 15:03:04 [decoder:4] Trying method "AAC" for >> "/tmp/liqacef9e.osb"... >> 2011/07/31 15:03:04 [decoder.aac:4] Invalid file extension for >> "/tmp/liqacef9e.osb"! >> 2011/07/31 15:03:04 [decoder:4] Trying method "MP4" for >> "/tmp/liqacef9e.osb"... >> 2011/07/31 15:03:04 [decoder.mp4:4] Invalid file extension for >> "/tmp/liqacef9e.osb"! >> 2011/07/31 15:03:04 [decoder:4] Trying method "OGG" for >> "/tmp/liqacef9e.osb"... >> 2011/07/31 15:03:04 [decoder.ogg:4] Invalid file extension for >> "/tmp/liqacef9e.osb"! >> 2011/07/31 15:03:04 [decoder:4] Trying method "MP3" for >> "/tmp/liqacef9e.osb"... >> 2011/07/31 15:03:04 [decoder.mp3:4] Invalid file extension for >> "/tmp/liqacef9e.osb"! >> 2011/07/31 15:03:04 [decoder:4] Trying method "SDL/IMAGE" for >> "/tmp/liqacef9e.osb"... >> 2011/07/31 15:03:04 [decoder:3] Unable to decode "/tmp/liqacef9e.osb" as >> {audio=2;video=0;midi=0}! > > Along with file-based type detection, we support mime-type based > detection but it is only available when liquidsoap is compiled with > ocaml-magic support enabled.. > > Romain - -- best regards, okay_awright <okay_awright AT ddcr DOT biz> [PGP key on request] -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJONaUkAAoJEN2X/7ng71pTpUoH/jg3GQE/oeSk7OWcdsbMtv9A fU5+Vsbbv4NHum6lt9iPc/YlfjOBsm2z2cCc+79HXKDfyoot/Q4qwzfVsyPA88Q9 3A68DvFX9oFp43jP/iamGx+X9OsTR/YSOeQQUZft3bo7h+2W2P0zPe4j6dK6adue yjyyoS07nkwAFhWl68zAOf4z4wJ3q2CoNLDto8AdzvbszQYmW7DMYYpWI5HLYfpq u0P47Il8E9FX7jOxZllpw5mfxWW12N8Jh2rh8JAulPK6WncGYL/6I/uB8jSPhl0O ceoevNIbq0CIHXs+HIAfy368r0ql89lUKt6Ygf4zD2M0pFSIEw5qzEHNr04DKdE= =C0R+ -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
