Advertisement
shokti

ubuntu 12.10 - mediatomb (media server) install

Feb 4th, 2013
392
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.24 KB | None | 0 0
  1. 1. install mediatomb:
  2. sudo apt-get install mediatomb
  3.  
  4. 2. run mediatomb(press ctrl+c to shutdown mediatomb):
  5. mediatomb
  6.  
  7. 3. shutdown mediatomb(press ctrl+c) and Edit config(mediatomb folder: ~/.mediatomb):
  8. sudo nano ~/.mediatomb/config.xml
  9.  
  10. 4. No need to remove comments, just add:
  11.  
  12. <custom-http-headers>
  13. <add header="transferMode.dlna.org: Streaming"/>
  14. <add header="contentFeatures.dlna.org: DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=017000 00000000000000000000000000"/>
  15. </custom-http-headers>
  16.  
  17. 5. Under <mappings>, add:
  18. <map from="avi" to="video/mpeg"/>
  19.  
  20. 6. and change mkv into:
  21. <map from="mkv" to="video/mpeg"/>
  22.  
  23. 7. to enable playstation support change to yes:
  24. <protocolInfo extend="yes"/>
  25.  
  26. 8. change to yes to enable web interface:
  27. <ui enabled="yes" show-tooltips="yes">
  28.  
  29. 9. change to yes to enable login accounts, and put your user and password:
  30.  
  31. <accounts enabled="yes" session-timeout="30">
  32. <account user="mediatomb" password="mediatomb" />
  33. </accounts>
  34.  
  35. 10. run MediaTomb:
  36. mediatomb
  37.  
  38. 11. to access mediatomb web interface(default username and password:mediatomb):
  39. http://mediatomb_server_ip:49152
  40.  
  41. ----------------------------------------------------------------------------
  42. to manually run mediatomb with alternate folder:
  43. sudo mediatomb -u mediatomb -c /your_folder/config.xml
  44.  
  45. to use vlc media player from other computer to play the mediatomb videos and music:
  46. to play media from mediatomb in vlc player:
  47. run vlc player
  48. go to view-->playlist
  49. go to local network-->Universal Plug'n'Play
  50. on the right side select mediatomb and browse music and video
  51. right click video and play
  52.  
  53.  
  54. KNOWN PROBLEMS
  55. The program SHOULD start with the computer BUT it is a know problem that mediatomb tries to connect to the internet before the network-manager is started, so it just closes again.
  56. To check if your mediatomb server starts on boot, install this program;
  57. sudo apt-get install upnp-inspector
  58.  
  59. you can find it under programs in the menu or run it in the terminal with:
  60. upnp-inspector
  61.  
  62. If you don't have a server running then you can start it with this command:
  63. sudo /etc/init.d/mediatomb start
  64.  
  65. If you by mistake start two servers, then you can close them with:
  66. sudo killall mediatomb
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement