- MediaTombのインストール
# yum -y install mediatomb
すると mediatomb, js, libexif, taglib がインストールされます
- /etc/mediatomb.conf を編集します(MediaTombで使用するネットワークインターフェイスを指定)。
MT_INTERFACE="NOT_SET" → MT_INTERFACE="eth1"
- 一度起動してみます。
# /etc/init.d/mediatomb start
Applying multicast settings to eth1... Starting mediatomb: [ OK ]
- PS3で再生することができる、mp4, divx のメディアタイプを /etc/mediatomb/config.xml に追加・変更します。
※必ず修正する前には、バックアップファイルをつくりましょう。
<protocolInfo extend="no"/><!-- For PS3 support change to "yes" -->
→ <protocolInfo extend="yes"/><!-- For PS3 support change to "yes" -->
※noをyesに
<map from="mp3" to="audio/mpeg"/> あたりの下に
→ <map from="mp4" to="video/mp4"/>
※追加
<!-- Uncomment the line below for PS3 divx support -->
<!-- <map from="avi" to="video/divx"/> -->
→ <map from="avi" to="video/divx"/>
※コメントをはずしましょう
- 起動しましょう。
# /etc/rc.d/init.d/mediatomb start
- サーバとして起動しましょう。
# chkconfig mediatomb on