DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-08-24 02:42:32

bodbod
Member
Registered: 2007-11-22
Posts: 109

Mediatomb - install issue

Hi,

I know what you are thinking : another noob question... sorry about that !
Anyway, this forum is the only way for us to improve so i will ask my questions

I have installed funplug 5.0, no issue till there.
I can telnet and run mediatomb (i thought it was as easy but it looks like it is not)
I would like to edit the config.xml file but i can't even access to it via ftp or windows. i would like to do it this way as i am not a star with the "vi" application
in fact i can see it when i use the telnet console but the directory .mediatomb is non accessible via ftp or windows, is somebody able to tell where it is located and how to enter in it with windows explorer or a ftp browser ? (i remember that a file starting by a "." is special in windows)

when i am at the root (~) i see this structure below ; to which directory it is refering in windows please ?
/Volume_1/ffp ?
how can i access to my data files that i would like to link for being able to configure in mediatomb ?

thx for your help

/ # ls -la
drwxr-xr-x   19 root     root         1024 Aug 23 22:20 .
drwxr-xr-x   19 root     root         1024 Aug 23 22:20 ..
-rw-r--r--    1 root     root          121 Aug 24 00:31 .ash_history
drwxr-xr-x    2 root     root         1024 Aug 23 23:00 .mediatomb
drwxr-xr-x    2 root     root         2048 Aug 23 21:07 bin
drwxr-xr-x    2 root     root         1024 Aug 23 22:08 default
drwxr-xr-x    3 root     root         6144 Aug 23 22:08 dev
drwxr-xr-x    5 root     root         1024 Aug 24 00:18 etc
lrwxrwxrwx    1 root     root           14 Aug 23 22:08 ffp -> /mnt/HD_a2/ffp
drwxr-xr-x    4 root     root         1024 Jun  1  2006 home
-rw-r--r--    1 root     root      5644288 Jan 10  2008 image.cfs
drwxr-xr-x    3 root     root         2048 Aug 23 21:07 lib
drwx------    2 root     root         1024 Dec 27  2005 lost+found
drwxr-xr-x    4 root     root         1024 Aug 23 21:08 mnt
dr-xr-xr-x   74 root     root            0 Jan  1  1970 proc
drwxr-xr-x    2 root     root         1024 Dec 27  2005 root
drwxr-xr-x    2 root     root         1024 May 15  2006 sbin
drwxr-xr-x    6 root     root         1024 Feb 13  2006 sys
drwxr-xr-x    3 root     root         1024 Aug 24 00:29 tmp
drwxr-xr-x    6 root     root         1024 Feb 15  2006 usr
drwxr-xr-x    6 root     root         1024 Aug 24 00:18 var
drwxr-xr-x    3 root     root         1024 Aug 23 21:08 web
-rw-r--r--    1 root     root          116 Dec 27  2005 welcome.msg

/.mediatomb # ls -al
drwxr-xr-x    2 root     root         1024 Aug 23 23:00 .
drwxr-xr-x   19 root     root         1024 Aug 23 22:20 ..
-rwxrwxrwx    1 root     root         3105 Aug 23 22:20 config.xml
-rw-r--r--    1 root     root        18432 Aug 23 23:00 mediatomb.db
-rw-r--r--    1 root     root            0 Aug 23 23:00 mediatomb.db-journal
-rw-r--r--    1 root     root          128 Aug 23 23:00 mediatomb.html
/.mediatomb #

Offline

 

#2 2008-08-24 05:54:49

bq041
Member
From: USA
Registered: 2008-03-19
Posts: 709

Re: Mediatomb - install issue

file that begin with a "." are hidden files; this goes for directories, also.


DNS-323     F/W: 1.04b84  H/W: A1  ffp: 0.5  Drives: 2X 400 GB Seagate SATA-300
DNS-323     F/W: 1.05b28  H/W: B1  ffp: 0.5  Drives: 2X 1 TB  WD SATA-300
DSM-G600   F/W: 1.02       H/W: B                Drive:  500 GB WD ATA

Offline

 

#3 2008-08-28 14:04:08

bodbod
Member
Registered: 2007-11-22
Posts: 109

Re: Mediatomb - install issue

Yes I know that but why can't I access when you enter the full path ? I tried a CHMOD 777 too but i still can t access to it.
any other answer on the rest ?

thx in advance

Offline

 

#4 2008-08-30 09:08:11

memebag
New member
Registered: 2008-08-23
Posts: 3

Re: Mediatomb - install issue

Use telnet to copy the file to a visible directory, then use something other than vi to edit it, then use telnet to copy it back.  Either that, or rename .mediatomb to something visible for a bit.

Offline

 

#5 2008-08-30 12:02:56

bodbod
Member
Registered: 2007-11-22
Posts: 109

Re: Mediatomb - install issue

Thx you, i did like you said in fact, i have copied the config file to another directory visible in Windows, then used Ultra Edit.
Mediatomb is now working with my PS3; however I would like to be able to have the little thumbs (icons of the movie) in my menu on the PS3, to watch .mkv file, and to keep the sub directories in my shared files (Movies - English or Movies - French etc...)
Concerning the mkv, I have seen some solutions with the transcoding option but it does not work for me.
Which application should I use for the transcoding : VLC ?
If somebody had the same issue and made it, could you please copy your config.xml in this thread please ?

DNS-323 running under FW 1.04
Funplug 0.5
mediatomb v11


<?xml version="1.0" encoding="UTF-8"?>
<config version="1" xmlns="http://mediatomb.cc/config/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mediatomb.cc/config/1 http://mediatomb.cc/config/1.xsd">
  <server>
    <pc-directory upnp-hide="yes"/>
    <ui enabled="yes">
          <accounts enabled="no" session-timeout="30">
        <account user="mediatomb" password="mediatomb"/>
      </accounts>
    </ui>
    <name>DNS-323</name>
    <udn>uuid:82bd4923-1dd3-48dc-9285-ef7d27cd5419</udn>
    <home>/ffp/var/mediatomb</home>
    <webroot>/ffp/share/mediatomb/web</webroot>
    <storage>
      <sqlite3 enabled="yes">
        <database-file>mediatomb.db</database-file>
      </sqlite3>
    </storage>
    <protocolInfo extend="yes"/>
  </server>
  <import hidden-files="no">
    <scripting script-charset="UTF-8">
      <virtual-layout type="builtin"/>
    </scripting>
    <mappings>
      <extension-mimetype ignore-unknown="no">
        <map from="mp3" to="audio/mpeg"/>
        <map from="ogg" to="application/ogg"/>
        <map from="asf" to="video/x-ms-asf"/>
        <map from="asx" to="video/x-ms-asf"/>
        <map from="wma" to="audio/x-ms-wma"/>
        <map from="wax" to="audio/x-ms-wax"/>
        <map from="wmv" to="video/x-ms-wmv"/>
        <map from="wvx" to="video/x-ms-wvx"/>
        <map from="wm" to="video/x-ms-wm"/>
        <map from="wmx" to="video/x-ms-wmx"/>
        <map from="m3u" to="audio/x-mpegurl"/>
        <map from="pls" to="audio/x-scpls"/>
        <map from="flv" to="video/x-flv"/>
        <map from="mkv" to="video/x-matroska"/>
        <map from="mpg" to="video/mpeg"/>
        <map from="mpeg" to="video/mpeg"/>
        <map from="avi" to="video/divx"/>
        <map from="jpg" to="image/jpeg" />
        <map from="jpeg" to="image/jpeg" />
        <map from="png" to="image/png" />
        <map from="svg" to="image/svg" />
      </extension-mimetype>
      <mimetype-upnpclass>
        <map from="audio/*" to="object.item.audioItem.musicTrack"/>
        <map from="video/*" to="object.item.videoItem"/>
        <map from="image/*" to="object.item.imageItem"/>
      </mimetype-upnpclass>
      <mimetype-contenttype>
        <treat mimetype="audio/mpeg" as="mp3"/>
        <treat mimetype="application/ogg" as="ogg"/>
        <treat mimetype="audio/x-flac" as="flac"/>
        <treat mimetype="image/jpeg" as="jpg"/>
        <treat mimetype="audio/x-mpegurl" as="playlist"/>
        <treat mimetype="audio/x-scpls" as="playlist"/>
        <treat mimetype="audio/x-wav" as="pcm"/>
        <treat mimetype="audio/L16" as="pcm"/>
        <treat mimetype="video/x-msvideo" as="avi"/>
      </mimetype-contenttype>
    </mappings>
</config>

Thx you

Last edited by bodbod (2008-08-30 12:48:47)

Offline

 

#6 2008-09-10 14:20:29

NaturalJean
New member
Registered: 2008-09-10
Posts: 1

Re: Mediatomb - install issue

Hi Bodbod,

After 10 days, have you found your solution? if yes, it could be great to share it.
I am sorry I cannot help you, but trust me, I am working about your problem.

Cya

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB