Difference between revisions of "Mediatomb"

From OnnoWiki
Jump to navigation Jump to search
Line 77: Line 77:
 
  vi /etc/mediatomb/config.xml
 
  vi /etc/mediatomb/config.xml
  
Ubah / pastikan ui enable="yes"
+
Ubah / pastikan ui dan account enable="yes"
  
 
  <server>
 
  <server>
    <ui enabled="yes" show-tooltips="yes">
+
  <ui enabled="yes" show-tooltips="yes">
 +
    <accounts enabled="yes" session-timeout="30">
 +
        <account user="mediatomb" password="mediatomb"/>
 +
    </accounts>
 +
  </ui>
  
 
==Scan Harddisk==
 
==Scan Harddisk==

Revision as of 14:47, 14 March 2013

MediaTomb adalah sebuah UPnP MediaServer open source (GPL) dengan interface user melalui web. MediaTomb memungkinkan kita untuk men-streaming digital media ke jaringan di rumah untuk mendengarkan / melihatnya di berbagai peralatan yang UPnP compatible.

MediaTomb mengimplementaqsikan spesifikasi UPnP MediaServer V 1.0 yang di publikasikan di http://www.upnp.org/. Implementasi yang ada sesuai dengan spesifikasi yang ada. Usaha sedang dilakukan untuk mengembangkan lebih lanjut.


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/

atau

 mediatomb --home=/folder/data/anda &

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 

2012-04-19 14:40:29    INFO: Loading configuration from: /mnt/pustaka//.mediatomb/config.xml
2012-04-19 14:40:29    INFO: Checking configuration...
2012-04-19 14:40:29    INFO: Setting filesystem import charset to UTF-8
2012-04-19 14:40:29    INFO: Setting metadata import charset to UTF-8
2012-04-19 14:40:29    INFO: Setting playlist charset to UTF-8
2012-04-19 14:40:29 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!

2012-04-19 14:40:29    INFO: Configuration check succeeded.
2012-04-19 14:40:30 WARNING: Sqlite3 database seems to be corrupt or doesn't exist yet.
2012-04-19 14:40:30    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/


Edit Konfigurasi

Default tempat file media ada di

/var/lib/mediatomb

Isi /var/lib/mediatomb dengan file avi, mp3 dll yang ingin di akses. Jangan lupa untuk

chmod -Rf 777 /var/lib/mediatomb/
chown -Rf nobody.nogroup /var/lib/mediatomb/

Edit file

vi /etc/mediatomb/config.xml

Ubah / pastikan ui dan account enable="yes"

<server>
  <ui enabled="yes" show-tooltips="yes">
    <accounts enabled="yes" session-timeout="30">
       <account user="mediatomb" password="mediatomb"/>
    </accounts>
  </ui>

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/
http://192.168.0.3:49152/
http://192.168.0.62:49152/
http://192.168.0.101:49152/
  • Klik Filesystem > path tempat file multimedia berada
  • Klik sebelah kanan atas "add"
  • Klik sebelah kanan atas "add as autoscan dir"

Set beberapa parameter

  • Scan Mode: Timed
  • Recursive
  • Set

Referensi

Pranala Menarik

Media Server di Network Appliance

Media Server di Komputer

Mencari Film / Lagu