-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,
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}! - -- best regards, okay_awright <okay_awright AT ddcr DOT biz> [PGP key on request] -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJONVoKAAoJEN2X/7ng71pTX0IIALxywAbaiY7Bh3q58XsrsUkH MuoFfYIpKHqRxvtejf7AjW+tVKOFm1ZaX/2dNc2qNd1h+osrPkR28XBKU1r5ao6Q KxXMymEu7q4WMOj9HEAFWfcYG9SEh3IA8ImnCVpSn8AINLCNA7Lx0q3hzCz/ixyl 6EQjGb65z59y8pNFYDcfxFpyJ10nRT4rjozf/W7kRp4mD/tgNUwRBZ4FYbVQM9Dc Ce1DofD1aPd7eXxAt1shYRHJsUV8Nqi+qkwbRW/kkgLyZCMHgyER4Cfy5qnc0Eyf 6xZrxWpDHFzC/Wto8MFjkrIbI3OYQZO17qnhNwfxy6VFaFovB3/mT3QLlvc/xhA= =KnAr -----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
