Difference between revisions of "Mediatomb"

From OnnoWiki
Jump to navigation Jump to search
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
Setup jaringan
+
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 mengimplementasikan 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==
 +
 
 +
Aktifkan multicast address
  
 
  sudo su
 
  sudo su
 
  route add -net 239.0.0.0 netmask 255.0.0.0 eth0
 
  route add -net 239.0.0.0 netmask 255.0.0.0 eth0
 
  ifconfig eth0 allmulti
 
  ifconfig eth0 allmulti
 +
 +
Catatan: Mediatomb akan memonitor Multicast address 239.255.255.250 (atau FF02::C / FF05::C di IPv6) port 1900.
  
 
Instalasi
 
Instalasi
Line 22: Line 31:
  
 
   mediatomb --home=/var/data/media/
 
   mediatomb --home=/var/data/media/
 +
 +
atau
 +
 +
  mediatomb --home=/folder/data/anda &
  
 
Akan keluar kurang lebih
 
Akan keluar kurang lebih
Line 29: Line 42:
 
  ===============================================================================
 
  ===============================================================================
 
  Copyright 2005-2010 Gena Batsyan, Sergey Bostandzhyan, Leonhard Wimmer.
 
  Copyright 2005-2010 Gena Batsyan, Sergey Bostandzhyan, Leonhard Wimmer.
  MediaTomb is free software, covered by the GNU General Public License version 2
+
  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
+
  2012-04-19 14:40:29   INFO: Loading configuration from: /mnt/pustaka//.mediatomb/config.xml
2011-05-24 19:54:18   INFO: Loading configuration from: /var/data/media/.mediatomb/config.xml
+
  2012-04-19 14:40:29   INFO: Checking configuration...
  2011-05-24 19:54:18    INFO: UUID generated: bfd0415a-2d04-4a5f-bc3c-0142bf9cd563
+
  2012-04-19 14:40:29   INFO: Setting filesystem import charset to UTF-8
2011-05-24 19:54:18   INFO: Checking configuration...
+
  2012-04-19 14:40:29   INFO: Setting metadata import charset to UTF-8
  2011-05-24 19:54:18   INFO: Setting filesystem import charset to UTF-8
+
  2012-04-19 14:40:29   INFO: Setting playlist charset to UTF-8
  2011-05-24 19:54:18   INFO: Setting metadata import charset to UTF-8
+
  2012-04-19 14:40:29 WARNING: You enabled the YouTube feature, which allows you
  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!
 
                               to watch YouTube videos on your UPnP device!
 
                               Please check http://www.youtube.com/t/terms
 
                               Please check http://www.youtube.com/t/terms
Line 44: Line 55:
 
                               service terms and conditions!
 
                               service terms and conditions!
 
   
 
   
  2011-05-24 19:54:18   INFO: Configuration check succeeded.
+
  2012-04-19 14:40:29   INFO: Configuration check succeeded.
  2011-05-24 19:54:18 WARNING: Sqlite3 database seems to be corrupt or doesn't exist yet.
+
  2012-04-19 14:40:30 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...
+
  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: database created successfully.
 
  2011-05-24 19:54:18    INFO: Initialized port: 49152
 
  2011-05-24 19:54:18    INFO: Initialized port: 49152
Line 52: Line 63:
 
  2011-05-24 19:54:19    INFO: MediaTomb Web UI can be reached by following this link:
 
  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/
 
  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==
Line 60: Line 97:
 
* Masuk ke web (misalnya)
 
* Masuk ke web (misalnya)
  
 +
http://192.168.43.102:49152/
 
  http://192.168.0.2:49152/
 
  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 Filesystem > path tempat file multimedia berada
Line 71: Line 112:
 
* Recursive
 
* Recursive
 
* Set
 
* Set
 +
 +
==Lebih Dalam==
 +
 +
* [[MediaTomb: Reset Database]]
 +
  
 
==Referensi==
 
==Referensi==
Line 77: Line 123:
 
* http://mediatomb.cc/pages/documentation#id2855498
 
* http://mediatomb.cc/pages/documentation#id2855498
  
 +
==Pranala Menarik==
  
==Pranala Menarik==
+
* [[Media Server]]
 +
 
 +
===Media Server di Network Appliance===
 +
* [[Buffalo: Media Server]]
 +
* [[Buffalo: BitTorrent]]
 +
* [[Buffalo: BitTorrent Konfigurasi]]
  
* [[Multimedia di Linux]]
+
===Media Server di Komputer===
 
* [[mediatomb]] '''(RECOMMENDED)'''
 
* [[mediatomb]] '''(RECOMMENDED)'''
 
* [[ushare]]
 
* [[ushare]]
 
* [[gmediaserver]]
 
* [[gmediaserver]]
  
[[Category: Linux]]
+
===Mencari Film / Lagu===
[[Category: Multimedia]]
+
* [[ThePirateBay]]
 +
* [[rtorrent]]
 +
* [[rtorrent.rc]]
 +
* [[rtorrent: modifikasi untuk mendukung magnet]]
 +
* [[rtorrent: cara penggunaan]]
 +
* [[rtorrent: menjalankan di background]]
 +
* [[Bittorrent]]

Latest revision as of 19:42, 14 December 2023

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 mengimplementasikan 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

Aktifkan multicast address

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

Catatan: Mediatomb akan memonitor Multicast address 239.255.255.250 (atau FF02::C / FF05::C di IPv6) port 1900.

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.43.102:49152/
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

Lebih Dalam


Referensi

Pranala Menarik

Media Server di Network Appliance

Media Server di Komputer

Mencari Film / Lagu