Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. install mediatomb:
- sudo apt-get install mediatomb
- 2. run mediatomb(press ctrl+c to shutdown mediatomb):
- mediatomb
- 3. shutdown mediatomb(press ctrl+c) and Edit config(mediatomb folder: ~/.mediatomb):
- sudo nano ~/.mediatomb/config.xml
- 4. No need to remove comments, just add:
- <custom-http-headers>
- <add header="transferMode.dlna.org: Streaming"/>
- <add header="contentFeatures.dlna.org: DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=017000 00000000000000000000000000"/>
- </custom-http-headers>
- 5. Under <mappings>, add:
- <map from="avi" to="video/mpeg"/>
- 6. and change mkv into:
- <map from="mkv" to="video/mpeg"/>
- 7. to enable playstation support change to yes:
- <protocolInfo extend="yes"/>
- 8. change to yes to enable web interface:
- <ui enabled="yes" show-tooltips="yes">
- 9. change to yes to enable login accounts, and put your user and password:
- <accounts enabled="yes" session-timeout="30">
- <account user="mediatomb" password="mediatomb" />
- </accounts>
- 10. run MediaTomb:
- mediatomb
- 11. to access mediatomb web interface(default username and password:mediatomb):
- http://mediatomb_server_ip:49152
- ----------------------------------------------------------------------------
- to manually run mediatomb with alternate folder:
- sudo mediatomb -u mediatomb -c /your_folder/config.xml
- to use vlc media player from other computer to play the mediatomb videos and music:
- to play media from mediatomb in vlc player:
- run vlc player
- go to view-->playlist
- go to local network-->Universal Plug'n'Play
- on the right side select mediatomb and browse music and video
- right click video and play
- KNOWN PROBLEMS
- 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.
- To check if your mediatomb server starts on boot, install this program;
- sudo apt-get install upnp-inspector
- you can find it under programs in the menu or run it in the terminal with:
- upnp-inspector
- If you don't have a server running then you can start it with this command:
- sudo /etc/init.d/mediatomb start
- If you by mistake start two servers, then you can close them with:
- sudo killall mediatomb
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement