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

FireFly Media Server Firefly Media Server Forums Firefly Media Server Setup Issues Transcoding exotic formats (other than mp4a, mpeg, wav, etc) Reply To: Transcoding exotic formats (other than mp4a, mpeg, wav, etc)

#9489
Metalliferous
Participant

It still doesn’t work. 🙁

I tried to get ogg to decode, that worked. Then I discovered that even while I commented ogg support out of the transcode script, it still worked.
This is because the ffplugin was still enabled (stupid me).

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.

In Itunes, both ogg and dmo files now show up as MP3. It’s like firefly doesn’t know it needs to transcode those files.

/etc/mt-daapd.conf:

extensions = .mp3,.m4a,.m4p,.ogg,.flac,.mpc,.dmo
ssc_codectypes = ogg, flac, alac, unkn
ssc_prog = /usr/sbin/mt-daapd-ssc.sh

In /usr/sbin/mt-daapd-ssc.sh I added the following:

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

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

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