Frustrated with MediaTomb

Thomas Milne tbrucemilne-TcoXwbchSccMMYnvST3LeUB+6BGkLq7r at public.gmane.org
Mon Mar 8 02:28:32 UTC 2010


On Sun, Mar 7, 2010 at 8:49 PM, Thomas Milne
<tbrucemilne-TcoXwbchSccMMYnvST3LeUB+6BGkLq7r at public.gmane.org> wrote:
> On Sun, Mar 7, 2010 at 6:09 PM, Stephen <stephen-d-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org> wrote:
>> Thomas Milne wrote:
>>>
>>> I'm trying to get MediaTomb working with my PS3. I got it installed
>>> fine, and the PS3 has no trouble seeing the server. The problem is
>>> getting the MediaTomb UI to see the server so I can add my media.
>>> Every time I try to access the Filesystem icon, I get an error about
>>>
>>> MediaTomb cannot be reached! Please check if the server is still running.
>>>
>>> I've waded through the FAQ, Google and the like, but I have no idea
>>> what the problem is. Currently the server is running on startup, from
>>> /etc/init.d. Most of the documentation, for some reason, refers to
>>> mediatomb being started as a normal user. Also, the documentation
>>> refers to the web UI address being printed in the output when run
>>> manually. I don't see this at all. Also, since the PS3 can see the
>>> server, my problem is NOT that the server isn't running, right?
>>>
>>> Before I jump onto their forums, can someone spare me a quick tip? I
>>> have a feeling I'm close, missing something minor but critical.
>>>
>>>
>>
>> I suggest you stop MT and run from your user terminal. Make sure you get
>> something like this:
>>
>> stephen at roissy:~$ mediatomb
>>
>> MediaTomb UPnP Server version 0.12.0 - http://mediatomb.cc/
>>
>> ===============================================================================
>> Copyright 2005-2008 Gena Batsyan, Sergey Bostandzhyan, Leonhard Wimmer.
>> MediaTomb is free software, covered by the GNU General Public License
>> version 2
>>
>> 2010-03-07 17:58:25    INFO: Loading configuration from:
>> /home/stephen/.mediatomb/config.xml
>> 2010-03-07 17:58:25    INFO: Checking configuration...
>> 2010-03-07 17:58:25    INFO: Setting filesystem import charset to UTF-8
>> 2010-03-07 17:58:25    INFO: Setting metadata import charset to UTF-8
>> 2010-03-07 17:58:25    INFO: Setting playlist charset to UTF-8
>> 2010-03-07 17:58:25    INFO: Configuration check succeeded.
>> 2010-03-07 17:58:25    INFO: Initialized port: 49154
>> 2010-03-07 17:58:25    INFO: Server bound to: 192.168.0.50
>> 2010-03-07 17:58:26    INFO: MediaTomb Web UI can be reached by following
>> this link:
>> 2010-03-07 17:58:26    INFO: http://192.168.0.50:49154/
>> 2010-03-07 17:58:55    INFO: thread cleanup; thread_id=-1235928208
>>
>> Pay attention the IP address and port. You need to add these in your
>> browser.
>
> I get this:
>
> joehill at node1:~$ mediatomb
> mediatomb: /usr/lib/i686/cmov/libavformat.so.52: no version
> information available (required by /usr/lib/libffmpegthumbnailer.so.3)
> mediatomb: /usr/lib/i686/cmov/libavcodec.so.52: no version information
> available (required by /usr/lib/libffmpegthumbnailer.so.3)
>
> MediaTomb UPnP Server version 0.12.0 - http://mediatomb.cc/
>
> ===============================================================================
> Copyright 2005-2008 Gena Batsyan, Sergey Bostandzhyan, Leonhard Wimmer.
> MediaTomb is free software, covered by the GNU General Public License version 2
>
> 2010-03-07 20:36:10    INFO: Loading configuration from:
> /home/joehill/.mediatomb/config.xml
> 2010-03-07 20:36:10    INFO: Checking configuration...
> 2010-03-07 20:36:10    INFO: Setting filesystem import charset to UTF-8
> 2010-03-07 20:36:10    INFO: Setting metadata import charset to UTF-8
> 2010-03-07 20:36:10    INFO: Setting playlist charset to UTF-8
> 2010-03-07 20:36:10    INFO: Configuration check succeeded.
> 2010-03-07 20:36:11   ERROR: Error while accessing sqlite database
> file (/var/lib/mediatomb/mediatomb.db): Permission denied
>
>>
>> In the config.xml file you should have a line like:
>
> Ah, okay, that's why, it works now :-)
>
>>   <home>/home/stephen/.mediatomb</home>
>>
>> This should allow navigation on the PS3 through your file system making
>> adding your media to the database unnecessary.
>
> Well, it shows me only 'PC Directory', and no titles. That's okay,
> because I'm not sure if I'd want it showing the contents of my home
> dir on the PS3 :-\
>
> I would _love_ it if there was some way to show the directory
> structure of my media drive, but it only seems to show one level up or
> down, so it's kind of a mess, especially if there is a duplicate, ie.
>
> if i have /shows/30_rock/season_1
>
> and /shows/american_dad/season_1
>
> I only see one of them.

Got around this with using -a on the command line, and adding the
directories I want there. Works fine so far, shows the full directory
structure. Looking now to see if I can 'automate' that in the config
file or something.

>> It took me a while to get everything working, because my music is in .flac
>> files and I had to transcode to pcm. But the quality is outstanding and the
>> effort was worth it.
>>
>> Keep me posted.
>>
>
> Still hackin' away...
>
> --
> TBM
>



-- 
TBM
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list