[HOW TO] Transcoding game music files to MP3
Posted: Wed Jul 25, 2012 1:28 am
Subsonic can play various MOD and game music files with Extended Module Player.
Tested on debian 6 but same for ubuntu with web ui and Android client.
$ sudo apt-get install xmp lame
$ sudo ln -s /usr/bin/xmp /var/subsonic/transcode/xmp
$ rm /var/subsonic/transcode/lame; ln -s /usr/bin/lame /var/subsonic/transcode/lame #Subsonic 4.7 needs this line as executing /var/subsonic/transcode/lame exits with error
Open Subsonic Web UI in browser and login as admin. Under Settings > General append the following file extensions under the "Music files" field (yes xmp plays them all):
Click Save
Under Settings > Transcoding add new transcoder
Name: xmp player
Convert from: alm 669 mdl far xm mod fnk imf it liq mod wow mtm ptm rtm stm s3m ult dmf dbm med okt emod sfx m15 mtn amf gdm stx gmc psm j2b umx amd rad hsc flx gtk mgt mtp
Convert to: mp3
Step 1: xmp -c --nocmd %s
Step 2: lame -r -b %b --tt %t --ta %a --tl %l -S --resample 44.1 - -
Click Save
EDIT: Added the /var/subsonic/transcode/lame line for Subsonic 4.7.
Tested on debian 6 but same for ubuntu with web ui and Android client.
$ sudo apt-get install xmp lame
$ sudo ln -s /usr/bin/xmp /var/subsonic/transcode/xmp
$ rm /var/subsonic/transcode/lame; ln -s /usr/bin/lame /var/subsonic/transcode/lame #Subsonic 4.7 needs this line as executing /var/subsonic/transcode/lame exits with error
Open Subsonic Web UI in browser and login as admin. Under Settings > General append the following file extensions under the "Music files" field (yes xmp plays them all):
- Code: Select all
alm 669 mdl far xm mod fnk imf it liq mod wow mtm ptm rtm stm s3m ult dmf dbm med okt emod sfx m15 mtn amf gdm stx gmc psm j2b umx amd rad hsc flx gtk mgt mtp
Click Save
Under Settings > Transcoding add new transcoder
Name: xmp player
Convert from: alm 669 mdl far xm mod fnk imf it liq mod wow mtm ptm rtm stm s3m ult dmf dbm med okt emod sfx m15 mtn amf gdm stx gmc psm j2b umx amd rad hsc flx gtk mgt mtp
Convert to: mp3
Step 1: xmp -c --nocmd %s
Step 2: lame -r -b %b --tt %t --ta %a --tl %l -S --resample 44.1 - -
Click Save
EDIT: Added the /var/subsonic/transcode/lame line for Subsonic 4.7.