You are here: Home » Reply

Reply To: Transcoding exotic formats (other than mp4a, mpeg, wav, etc)



@metalliferous wrote:

I disabled the plugin, but now I can’t even decode ogg files. When I start the script with either an ogg or an dmo file, and write it to a wave file, it is playable.

The transcode files should show up as .wav. If not, then someting is quite wrong — the ssc-script plugin isn’t loading or something like that.

extensions = .mp3,.m4a,.m4p,.ogg,.flac,.mpc,.dmo
ssc_codectypes = ogg, flac, alac, unkn
ssc_prog = /usr/sbin/

That looks right, so those files really should show up as “wav” files when getting file info from iTunes. If they don’t, then the rest is moot — the server has decided they don’t need to be transcoded.

In /usr/sbin/ I added the following:

adlib_file() {
$ADLIBDEC --quiet --output=disk --device=- "$FILE" | $WAVSTREAMER -o $OFFSET $FORGELEN

if ( echo $1 | grep -i ".dmo$" > /dev/null 2>&1 ); then

This looks good.

You might want to full path to the executables:


and the same with oggdec, flac, wavstreamer, etc. Depending on your environment for daemons, /usr/bin or /usr/local/bin, or wherever these binaries are might not be on your path.

P.S. I checked my song database with sqlite3, and the ogg file still shows up as ogg, my adlib files as unkn.

That’s right.