View Full Version : Mediaserver in Linux
11-15-2012, 12:50 PM
I'm in the middle of leaving Windows 8 (a disaster) and installing LinuxMint on my pc.
In Windows I used a mediaserver. With that I could see on my Philips TV al Photo's and Video's which were on mij PC ( The TV is connected to my homenetwork)
Now I'm trying to realize the same on LinuxMint. But how?
I installed MediaTomb. Now on my Philips TV I see: MediaTomb|PC directory. When I choose the last one " Nothing found " is said.
Starting MediaTomb on my Linux-pc goes to Firefox and gives the message MediaTomb UI is disabled. Check your configuration.
I'm new on linux. What I'm doing wrong? Does the name PC-directory (a Windows name) mean that I have to do something with Wine?
Or is there another mediaserver to work with?
Hope someone gives me a solution; thanks in advance.
11-16-2012, 04:08 PM
I found this video quite helpful configuring MediaTomb. http://www.youtube.com/watch?v=qic11JxRbN8
At around 2min30 it shows you how to do it
PC Directory should be there even on Linux
If you find MediaTomb too complicated there is also PS3 Media Server which is a good open source DLNA UPnP server too.
http://www.ps3mediaserver.org/ [you don't have to have a PS3 to use it, thats was just the origin of the project ;) ]
11-16-2012, 08:51 PM
Thanks Mike TV,
I've seen the Youtube demo. And it looks to be nice.....
But when I start Mediatomb, it still give the message "MediaTomb UI is disabled. Check your configuration."
And as I said, I'm a newbie in Linux, So I don't know how to solve this. Who helps?
11-17-2012, 12:16 PM
Sounds like there may be something wrong with your MediaTomb installation? I'm not actually Linux user myself.
Not sure if this is any help [from Ubuntu]
Perhaps double check you've installed the correct version of MediaTomb?
Or post your question on the MediaTomb forum on Sourceforge
Or you could also try asking on Ubuntu's forum
Or give MediaTomb a miss and try PS3 Media Server or another Open Source server app. MediaTomb is a bit tricky to set up.
Edit: Sorry. I've just seen you found (http://sourceforge.net/projects/mediatomb/forums/forum/440751/topic/6192203) MediaTomb forum already.
11-17-2012, 12:30 PM
That Ubuntu link (https://help.ubuntu.com/community/MediaTomb) has your answer
You need to edit MediaTomb's config.xml to enable the the UI. The config.xml is a text file located at /etc/mediatomb/config.xml.
They give a couple of examples of how to do it. One uses nano which is a bit technical.
The others are comand line ways of getting a GUI text editor to open the config.xml
If your text editor is gedit you could try using the Ubuntu command. [I think your on mint]
gksudo gedit /etc/mediatomb/config.xml
Once the config.xml is opened in your text editor "uncomment" the XML code by remove the "<!--" and "-->" from before and after the UI line of code.
11-17-2012, 07:20 PM
Hello Mike TV
Thanks for your help
Enclosed, you will find the config file (renamed). Please would you be so kind and look at it? As far as I can see, there is no such XML-code in it.
Sorry for my English; thanks in advance
11-17-2012, 07:28 PM
Sorry, my mistake :o
The line you want isn't commented. It is set to "no". You want to change it to yes The lines in question start six down
<ui enabled="no" show-tooltips="yes">
<accounts enabled="no" session-timeout="30">
<account user="mediatomb" password="mediatomb"/>
Where it says <ui enabled="no" show-tooltips="yes"> change the no to yes.
11-17-2012, 07:39 PM
Just a heads up: Linux/Unix system files use a special permission. [I'm guessing you speak German? so this is some info on Unix file permissions https://de.wikipedia.org/wiki/Unix-Dateirechte ]
But its important that you edit the config.xml in the right way so that that the system permission is preserved. That command line way of launching the GUI text editor sets it up so that it will edit the file with the right permission.
Were you able to launch the text editor using the Ubuntu command?
11-17-2012, 07:47 PM
Once you enable the UI you'll have to re-launch MediaTomb for the change to take effect. Then type this url into your web browser http://localhost:49152
That will take you to the web interface. Take a look at that YouTube video for more on how to configure MediaTomb with your media via the web interface.
Sorry for thinking you spoke German, I only saw Hardenberg [which looks German to me!]. I just spotted you're actualy in Holland. Can't find a Dutch wikipedia article on Unix File permissions. Sorry.
11-18-2012, 07:54 AM
I've done what you said and............ IT WORKS !!! ;) ;) ;)
Thanks voor your patience. Now I can sit down this Sunday, and look to all my foto's and video's