* install flac : sudo apt-get install flac
* in /usr/local/twonkymedia/cgi-bin create file flac-wav.desc ( or edit it, if already in place) and make it in this way :
Code: Select all
# transcode audio
#(c) 2008 by PacketVideo
exec: flac2wav $infile $outfile
# capabilities
from=audio/x-flac
to=audio/x-wav
synchronous
priority=idle
note that I made it "sync" and not "async", otherwise when you first select the flac, if not in cache, you must
exit from ps3 browser and select same flac again.
On the other hand is better to have a speedy pc

* in /usr/local/twonkymedia/cgi-bin create file flac2wav
Code: Select all
#!/bin/bash
/usr/bin/flac --silent --decode "$1" -o "$2"
* make flac2wav executable
sudo chmod +x /usr/local/twonkymedia/cgi-bin/flac2wav
* restart tms
But no matter what I do I can not get twonky to transcode. Am I missing something?