Mediatomb

From OnnoWiki
Jump to navigation Jump to search

Setup jaringan

sudo su
route add -net 239.0.0.0 netmask 255.0.0.0 eth0
ifconfig eth0 allmulti

Instalasi

apt-get install sqlite mediatomb

Restart

/etc/init.d/mediatomb restart

File konfigurasi di

/etc/mediatomb/config.xml

Cara Lain

Jalankan

 mediatomb --home=/var/data/media/

Akan keluar kurang lebih

MediaTomb UPnP Server version 0.12.1 - http://mediatomb.cc/

===============================================================================
Copyright 2005-2010 Gena Batsyan, Sergey Bostandzhyan, Leonhard Wimmer.
MediaTomb is free software, covered by the GNU General Public License version 2

2011-05-24 19:54:18    INFO: MediaTomb configuration was created in: /var/data/media/.mediatomb/config.xml
2011-05-24 19:54:18    INFO: Loading configuration from: /var/data/media/.mediatomb/config.xml
2011-05-24 19:54:18    INFO: UUID generated: bfd0415a-2d04-4a5f-bc3c-0142bf9cd563
2011-05-24 19:54:18    INFO: Checking configuration...
2011-05-24 19:54:18    INFO: Setting filesystem import charset to UTF-8
2011-05-24 19:54:18    INFO: Setting metadata import charset to UTF-8
2011-05-24 19:54:18    INFO: Setting playlist charset to UTF-8
2011-05-24 19:54:18 WARNING: You enabled the YouTube feature, which allows you
                             to watch YouTube videos on your UPnP device!
                             Please check http://www.youtube.com/t/terms
                             By using this feature you may be violating YouTube
                             service terms and conditions!

2011-05-24 19:54:18    INFO: Configuration check succeeded.
2011-05-24 19:54:18 WARNING: Sqlite3 database seems to be corrupt or doesn't exist yet.
2011-05-24 19:54:18    INFO: no sqlite3 backup is available or backup is corrupt. automatically creating database...
2011-05-24 19:54:18    INFO: database created successfully.
2011-05-24 19:54:18    INFO: Initialized port: 49152
2011-05-24 19:54:18    INFO: Server bound to: 192.168.0.2
2011-05-24 19:54:19    INFO: MediaTomb Web UI can be reached by following this link:
2011-05-24 19:54:19    INFO: http://192.168.0.2:49152/

Scan Harddisk

Scan harddisk / media yang ada hal ini di perlukan agar mediatomb mempunyai database file apa saja yang ada. Caranya

  • Masuk ke web (misalnya)
http://192.168.0.2:49152/
  • Klik pada folder yang di inginkan
  • Klik Scan

Referensi

Pranala Menarik